PluginInstallTarget
The one structured install target: a flat object with
two optional arms, exactly one present — the TurnInputPart
convention, since the v1 schema model names no object-variant union.
Both arms or neither is -32602 invalidParams.
Fields and variants
Section titled “Fields and variants”localPathmarketplace
Source
schema/msp/experimental/msp.schema.json#/types/PluginInstallTarget
{ "description": "The one structured install target: a flat object with\ntwo optional arms, exactly one present — the `TurnInputPart`\nconvention, since the v1 schema model names no object-variant union.\nBoth arms or neither is `-32602 invalidParams`.", "properties": { "localPath": { "$ref": "#/$defs/PluginInstallLocalPathTarget", "description": "The local-path arm: install from a host folder." }, "marketplace": { "$ref": "#/$defs/PluginInstallMarketplaceTarget", "description": "The marketplace arm: install a named plugin from a store." } }, "type": "object"}