Package com.github.copilot.generated.rpc


package com.github.copilot.generated.rpc
Auto-generated RPC parameter and result types for the GitHub Copilot SDK.

This package contains Java records and classes generated from the Copilot CLI's api.schema.json. These types represent the request parameters and response payloads for all JSON-RPC methods exposed by the CLI.

Key Classes

  • RpcCaller - Functional interface for invoking JSON-RPC methods with typed responses.
  • ServerRpc - Typed client for server-level RPC methods (session management, model listing, etc.).
  • SessionRpc - Typed client for session-scoped RPC methods (send messages, manage tools, etc.). Automatically injects the sessionId into every call.
See Also: