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 ServerInstructionsApiAPI methods for theinstructionsnamespace.final ServerMcpApiAPI methods for themcpnamespace.final ServerModelsApiAPI methods for themodelsnamespace.final ServerPluginsApiAPI methods for thepluginsnamespace.final ServerRuntimeApiAPI methods for theruntimenamespace.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 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. -
plugins
API methods for thepluginsnamespace. -
skills
API methods for theskillsnamespace. -
agents
API methods for theagentsnamespace. -
instructions
API methods for theinstructionsnamespace. -
user
API methods for theusernamespace. -
runtime
API methods for theruntimenamespace. -
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
-