Skip to content

plugin/install

Install one plugin from a marketplace pair or a host local path with scope (per-session, commandId-idempotent, hold-open; answers the installed receipt).

Type: PluginInstallParams

plugin/install params. Per-session params plus a client-generated commandId (UUIDv7) with the uniform idempotency contract.

Field Type Stability Presence Description
commandId string required The client-generated idempotency key (UUIDv7).
sessionId string required The target session; its workspace resolves project scope.
target PluginInstallTarget required Exactly one install target arm.
Source

schema/msp/experimental/msp.schema.json#/methods/plugin~2Finstall

{
"description": "Install one plugin from a marketplace pair or a host local path with scope (per-session, `commandId`-idempotent, hold-open; answers the installed receipt).",
"params": {
"$ref": "#/$defs/PluginInstallParams"
},
"result": {
"$ref": "#/$defs/PluginInstallResult"
}
}