Class ServerRpc
java.lang.Object
com.github.copilot.generated.rpc.ServerRpc
Typed client for server-level RPC methods.
Provides strongly-typed access to all server-level API namespaces.
Obtain an instance by calling new ServerRpc(caller).
- Since:
- 1.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal ServerAccountApiAPI methods for theaccountnamespace.final ServerAgentRegistryApiAPI methods for theagentRegistrynamespace.final ServerAgentsApiAPI methods for theagentsnamespace.final ServerCatalogApiAPI methods for thecatalognamespace.final ServerCommandsApiAPI methods for thecommandsnamespace.final ServerConnectorsApiAPI methods for theconnectorsnamespace.final ServerEnvironmentsApiAPI methods for theenvironmentsnamespace.final ServerExtensionsApiAPI methods for theextensionsnamespace.final ServerHooksApiAPI methods for thehooksnamespace.final ServerHostApiAPI methods for thehostnamespace.final ServerInstructionsApiAPI methods for theinstructionsnamespace.final ServerLlmInferenceApiAPI methods for thellmInferencenamespace.final ServerManagedSettingsApiAPI methods for themanagedSettingsnamespace.final ServerMcpApiAPI methods for themcpnamespace.final ServerModelsApiAPI methods for themodelsnamespace.final ServerPluginsApiAPI methods for thepluginsnamespace.final ServerRuntimeApiAPI methods for theruntimenamespace.final ServerSandboxApiAPI methods for thesandboxnamespace.final ServerSecretsApiAPI methods for thesecretsnamespace.final ServerSessionFsApiAPI methods for thesessionFsnamespace.final ServerSessionsApiAPI methods for thesessionsnamespace.final ServerSkillsApiAPI methods for theskillsnamespace.final ServerToolsApiAPI methods for thetoolsnamespace.final ServerUserApiAPI methods for theusernamespace. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionping(PingParams params) Checks server responsiveness and returns protocol information.Registers the calling SDK client as the per-entrypoint extension launch provider.
-
Field Details
-
environments
API methods for theenvironmentsnamespace. -
host
API methods for thehostnamespace. -
hooks
API methods for thehooksnamespace. -
models
API methods for themodelsnamespace. -
sandbox
API methods for thesandboxnamespace. -
tools
API methods for thetoolsnamespace. -
account
API methods for theaccountnamespace. -
secrets
API methods for thesecretsnamespace. -
mcp
API methods for themcpnamespace. -
extensions
API methods for theextensionsnamespace. -
skills
API methods for theskillsnamespace. -
catalog
API methods for thecatalognamespace. -
plugins
API methods for thepluginsnamespace. -
agents
API methods for theagentsnamespace. -
instructions
API methods for theinstructionsnamespace. -
commands
API methods for thecommandsnamespace. -
user
API methods for theusernamespace. -
managedSettings
API methods for themanagedSettingsnamespace. -
runtime
API methods for theruntimenamespace. -
sessionFs
API methods for thesessionFsnamespace. -
llmInference
API methods for thellmInferencenamespace. -
sessions
API methods for thesessionsnamespace. -
agentRegistry
API methods for theagentRegistrynamespace. -
connectors
API methods for theconnectorsnamespace.
-
-
Constructor Details
-
ServerRpc
Creates a new server RPC client.- Parameters:
caller- the RPC transport function (e.g.,jsonRpcClient::invoke)
-
-
Method Details
-
ping
Checks server responsiveness and returns protocol information.- Since:
- 1.0.0
-
registerExtensionLaunchProvider
Registers the calling SDK client as the per-entrypoint extension launch provider. Call before creating any sessions. When omitted, the runtime uses its built-in extension launcher.- Since:
- 1.0.0
-