pub struct PluginsDisableRequest {
pub names: Vec<String>,
pub working_directory: Option<String>,
}Expand description
Plugin names (or specs) to disable, plus the optional working directory the repository-controlled guard is evaluated against.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§names: Vec<String>Plugin names or “plugin@marketplace” specs to disable. Unknown names are ignored. Non-marketplace direct installs cannot be disabled via this API; uninstall them instead. Plugin-owned MCP servers are stopped in active sessions immediately; other plugin contributions remain available until each session reloads plugins.
working_directory: Option<String>Working directory whose repository enabledPlugins overlay decides whether this mutation is repository-controlled. Hosts that serve sessions across several repositories (the SDK server) should pass the session’s directory; otherwise the guard is evaluated against the server process’s own working directory, which may belong to a different repository. Defaults to the server’s current working directory.