Class SessionPluginsApi
plugins namespace.- Since:
- 1.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionAPI methods for theplugins.marketplacessub-namespace. -
Method Summary
Modifier and TypeMethodDescriptiondisable(SessionPluginsDisableParams params) Disables installed plugins when permitted by the live session's retained managed policy.enable(SessionPluginsEnableParams params) Enables installed plugins when permitted by the live session's retained managed policy.install(SessionPluginsInstallParams params) Installs a plugin using the live session's authoritative account, working directory, and retained managed policy.list()Lists globally installed, live, built-in, and enterprise-managed desired plugins using the live session's authoritative account, working directory, and retained managed policy.reload()Reloads the session's plugin set, refreshing MCP servers, custom agents, hooks, and skills cache so SDK-driven changes via `server.plugins.*` take effect immediately.reload(SessionPluginsReloadParams params) Reloads the session's plugin set, refreshing MCP servers, custom agents, hooks, and skills cache so SDK-driven changes via `server.plugins.*` take effect immediately.Uninstalls a plugin when permitted by the live session's retained managed policy.update(SessionPluginsUpdateParams params) Updates an installed plugin using the live session's authoritative account, working directory, and retained managed policy.
-
Field Details
-
marketplaces
API methods for theplugins.marketplacessub-namespace.
-
-
Method Details
-
list
Lists globally installed, live, built-in, and enterprise-managed desired plugins using the live session's authoritative account, working directory, and retained managed policy.- Since:
- 1.0.0
-
install
@CopilotExperimental public CompletableFuture<SessionPluginsInstallResult> install(SessionPluginsInstallParams params) Installs a plugin using the live session's authoritative account, working directory, and retained managed policy.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
uninstall
Uninstalls a plugin when permitted by the live session's retained managed policy.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
update
@CopilotExperimental public CompletableFuture<SessionPluginsUpdateResult> update(SessionPluginsUpdateParams params) Updates an installed plugin using the live session's authoritative account, working directory, and retained managed policy.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
enable
Enables installed plugins when permitted by the live session's retained managed policy.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
disable
Disables installed plugins when permitted by the live session's retained managed policy.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
reload
Reloads the session's plugin set, refreshing MCP servers, custom agents, hooks, and skills cache so SDK-driven changes via `server.plugins.*` take effect immediately.Invokes the method with no params, applying the runtime defaults.
- Since:
- 1.0.0
-
reload
Reloads the session's plugin set, refreshing MCP servers, custom agents, hooks, and skills cache so SDK-driven changes via `server.plugins.*` take effect immediately.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-