Package com.github.copilot.sdk.json
package com.github.copilot.sdk.json
-
ClassDescriptionRepresents a file attachment to include with a message.Azure OpenAI-specific configuration options.Configuration options for creating a
CopilotClient.Internal request object for creating a new session.Internal response object from creating a session.Configuration for a custom agent in a Copilot session.Internal response object from deleting a session.Response from the auth.getStatus RPC call.Response from session.getForeground RPC call.Internal response object from getting the last session ID.Internal response object from getting session messages.Response from the models.list RPC call.Response from the status.get RPC call.Context for a hook invocation.Configuration for infinite sessions with automatic context compaction and workspace persistence.JSON-RPC 2.0 error structure.JSON-RPC 2.0 request structure.JSON-RPC 2.0 response structure.Internal response object from listing sessions.Options for sending a message to a Copilot session.Model billing information.Model capabilities and limits.Information about an available model.Model limits.Model policy state.Model support flags.Model vision-specific limits.Functional interface for handling permission requests from the AI assistant.Context information for a permission request invocation.Represents a permission request from the AI assistant.Result of a permission request decision.Response from a ping request to the Copilot CLI server.Handler for post-tool-use hooks.Input for a post-tool-use hook.Output for a post-tool-use hook.Handler for pre-tool-use hooks.Input for a pre-tool-use hook.Output for a pre-tool-use hook.Configuration for a custom API provider (BYOK - Bring Your Own Key).Configuration for resuming an existing Copilot session.Internal request object for resuming an existing session.Internal response object from resuming a session.Internal request object for sending a message to a session.Internal response object from sending a message.Configuration for creating a new Copilot session.Handler for session-end hooks.Input for a session-end hook.Output for a session-end hook.Hook handlers configuration for a session.Session lifecycle event notification.Metadata for session lifecycle events.Types of session lifecycle events.Handler for session lifecycle events.Metadata about an existing Copilot session.Handler for session-start hooks.Input for a session-start hook.Output for a session-start hook.Response from session.setForeground RPC call.Configuration for customizing the system message.Binary result from a tool execution.Low-level tool definition for JSON-RPC communication.Defines a tool that can be invoked by the AI assistant.Functional interface for handling tool invocations from the AI assistant.Represents a tool invocation request from the AI assistant.Result object returned from a tool execution.Handler for user input requests from the agent.Context for a user input request invocation.Request for user input from the agent.Response to a user input request.Handler for user-prompt-submitted hooks.Input for a user-prompt-submitted hook.Output for a user-prompt-submitted hook.