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 ServerMcpApiAPI methods for themcpnamespace.final ServerModelsApiAPI methods for themodelsnamespace.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. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconnect(ConnectParams params) Optional connection token presented by the SDK client during the handshake.ping(PingParams params) Optional message to echo back to the caller.
-
Field Details
-
models
API methods for themodelsnamespace. -
tools
API methods for thetoolsnamespace. -
account
API methods for theaccountnamespace. -
secrets
API methods for thesecretsnamespace. -
mcp
API methods for themcpnamespace. -
skills
API methods for theskillsnamespace. -
sessionFs
API methods for thesessionFsnamespace. -
sessions
API methods for thesessionsnamespace. -
agentRegistry
API methods for theagentRegistrynamespace.
-
-
Constructor Details
-
ServerRpc
Creates a new server RPC client.- Parameters:
caller- the RPC transport function (e.g.,jsonRpcClient::invoke)
-
-
Method Details
-
ping
Optional message to echo back to the caller.- Since:
- 1.0.0
-
connect
Optional connection token presented by the SDK client during the handshake.- Since:
- 1.0.0
-