Index

A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values

A

abort() - Method in class com.github.copilot.sdk.CopilotSession
Aborts the currently processing message in this session.
aborted() - Method in record class com.github.copilot.sdk.generated.SessionIdleEvent.SessionIdleEventData
Returns the value of the aborted record component.
AbortEvent - Class in com.github.copilot.sdk.generated
The abort session event.
AbortEvent() - Constructor for class com.github.copilot.sdk.generated.AbortEvent
 
AbortEvent.AbortEventData - Record Class in com.github.copilot.sdk.generated
Data payload for AbortEvent.
AbortEventData(String) - Constructor for record class com.github.copilot.sdk.generated.AbortEvent.AbortEventData
Creates an instance of a AbortEventData record class.
ACCEPT - Enum constant in enum class com.github.copilot.sdk.generated.ElicitationCompletedEvent.ElicitationCompletedEventData.ElicitationCompletedEventDataAction
The accept variant.
ACCEPT - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionUiElicitationResult.SessionUiElicitationResultAction
The accept variant.
ACCEPT - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionUiHandlePendingElicitationParams.SessionUiHandlePendingElicitationParamsResult.SessionUiHandlePendingElicitationParamsResultAction
The accept variant.
ACCEPT - Enum constant in enum class com.github.copilot.sdk.json.ElicitationResultAction
The user submitted the form (accepted).
account - Variable in class com.github.copilot.sdk.generated.rpc.ServerRpc
API methods for the account namespace.
AccountGetQuotaResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the account.getQuota RPC method.
AccountGetQuotaResult(Map<String, AccountGetQuotaResult.AccountGetQuotaResultQuotaSnapshotsValue>) - Constructor for record class com.github.copilot.sdk.generated.rpc.AccountGetQuotaResult
Creates an instance of a AccountGetQuotaResult record class.
AccountGetQuotaResult.AccountGetQuotaResultQuotaSnapshotsValue - Record Class in com.github.copilot.sdk.generated.rpc
 
AccountGetQuotaResultQuotaSnapshotsValue(Double, Double, Double, Double, Boolean, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.AccountGetQuotaResult.AccountGetQuotaResultQuotaSnapshotsValue
Creates an instance of a AccountGetQuotaResultQuotaSnapshotsValue record class.
action() - Method in record class com.github.copilot.sdk.generated.ElicitationCompletedEvent.ElicitationCompletedEventData
Returns the value of the action record component.
action() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiElicitationResult
Returns the value of the action record component.
action() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiHandlePendingElicitationParams.SessionUiHandlePendingElicitationParamsResult
Returns the value of the action record component.
actions() - Method in record class com.github.copilot.sdk.generated.ExitPlanModeRequestedEvent.ExitPlanModeRequestedEventData
Returns the value of the actions record component.
add(McpConfigAddParams) - Method in class com.github.copilot.sdk.generated.rpc.ServerMcpConfigApi
Invokes mcp.config.add.
additionalContext() - Method in record class com.github.copilot.sdk.json.PostToolUseHookOutput
Returns the value of the additionalContext record component.
additionalContext() - Method in record class com.github.copilot.sdk.json.PreToolUseHookOutput
Returns the value of the additionalContext record component.
additionalContext() - Method in record class com.github.copilot.sdk.json.SessionStartHookOutput
Returns the value of the additionalContext record component.
additionalContext() - Method in record class com.github.copilot.sdk.json.UserPromptSubmittedHookOutput
Returns the value of the additionalContext record component.
ADO - Enum constant in enum class com.github.copilot.sdk.generated.SessionContextChangedEvent.SessionContextChangedEventData.SessionContextChangedEventDataHostType
The ado variant.
ADO - Enum constant in enum class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData.SessionResumeEventDataContext.SessionResumeEventDataContextHostType
The ado variant.
ADO - Enum constant in enum class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData.SessionStartEventDataContext.SessionStartEventDataContextHostType
The ado variant.
agent - Variable in class com.github.copilot.sdk.generated.rpc.SessionRpc
API methods for the agent namespace.
agent() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentGetCurrentResult
Returns the value of the agent record component.
agent() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentSelectResult
Returns the value of the agent record component.
agentDescription() - Method in record class com.github.copilot.sdk.generated.SubagentStartedEvent.SubagentStartedEventData
Returns the value of the agentDescription record component.
agentDisplayName() - Method in record class com.github.copilot.sdk.generated.SubagentCompletedEvent.SubagentCompletedEventData
Returns the value of the agentDisplayName record component.
agentDisplayName() - Method in record class com.github.copilot.sdk.generated.SubagentFailedEvent.SubagentFailedEventData
Returns the value of the agentDisplayName record component.
agentDisplayName() - Method in record class com.github.copilot.sdk.generated.SubagentSelectedEvent.SubagentSelectedEventData
Returns the value of the agentDisplayName record component.
agentDisplayName() - Method in record class com.github.copilot.sdk.generated.SubagentStartedEvent.SubagentStartedEventData
Returns the value of the agentDisplayName record component.
AgentInfo - Class in com.github.copilot.sdk.json
Represents a custom agent available for selection in a session.
AgentInfo() - Constructor for class com.github.copilot.sdk.json.AgentInfo
 
agentMode() - Method in record class com.github.copilot.sdk.generated.UserMessageEvent.UserMessageEventData
Returns the value of the agentMode record component.
agentName() - Method in record class com.github.copilot.sdk.generated.SubagentCompletedEvent.SubagentCompletedEventData
Returns the value of the agentName record component.
agentName() - Method in record class com.github.copilot.sdk.generated.SubagentFailedEvent.SubagentFailedEventData
Returns the value of the agentName record component.
agentName() - Method in record class com.github.copilot.sdk.generated.SubagentSelectedEvent.SubagentSelectedEventData
Returns the value of the agentName record component.
agentName() - Method in record class com.github.copilot.sdk.generated.SubagentStartedEvent.SubagentStartedEventData
Returns the value of the agentName record component.
agents() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentListResult
Returns the value of the agents record component.
agents() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentReloadResult
Returns the value of the agents record component.
agents() - Method in record class com.github.copilot.sdk.generated.SessionCustomAgentsUpdatedEvent.SessionCustomAgentsUpdatedEventData
Returns the value of the agents record component.
allow() - Static method in record class com.github.copilot.sdk.json.PreToolUseHookOutput
Creates an output that allows the tool to execute.
allowedTools() - Method in record class com.github.copilot.sdk.generated.SkillInvokedEvent.SkillInvokedEventData
Returns the value of the allowedTools record component.
allowFreeform() - Method in record class com.github.copilot.sdk.generated.UserInputRequestedEvent.UserInputRequestedEventData
Returns the value of the allowFreeform record component.
alreadyInUse() - Method in record class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData
Returns the value of the alreadyInUse record component.
alreadyInUse() - Method in record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData
Returns the value of the alreadyInUse record component.
answer() - Method in record class com.github.copilot.sdk.generated.UserInputCompletedEvent.UserInputCompletedEventData
Returns the value of the answer record component.
apiCallId() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData
Returns the value of the apiCallId record component.
APPEND - Enum constant in enum class com.github.copilot.sdk.json.SectionOverrideAction
Append content after the existing section.
APPEND - Enum constant in enum class com.github.copilot.sdk.SystemMessageMode
Append the custom content to the default system message.
APPROVE_ALL - Static variable in interface com.github.copilot.sdk.json.PermissionHandler
A pre-built handler that approves all permission requests.
approved() - Method in record class com.github.copilot.sdk.generated.ExitPlanModeCompletedEvent.ExitPlanModeCompletedEventData
Returns the value of the approved record component.
APPROVED - Enum constant in enum class com.github.copilot.sdk.generated.PermissionCompletedEvent.PermissionCompletedEventData.PermissionCompletedEventDataResult.PermissionCompletedEventDataResultKind
The approved variant.
APPROVED - Static variable in class com.github.copilot.sdk.json.PermissionRequestResultKind
The permission was approved.
args() - Method in record class com.github.copilot.sdk.generated.CommandExecuteEvent.CommandExecuteEventData
Returns the value of the args record component.
arguments() - Method in record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData.AssistantMessageEventDataToolRequestsItem
Returns the value of the arguments record component.
arguments() - Method in record class com.github.copilot.sdk.generated.ExternalToolRequestedEvent.ExternalToolRequestedEventData
Returns the value of the arguments record component.
arguments() - Method in record class com.github.copilot.sdk.generated.ToolExecutionStartEvent.ToolExecutionStartEventData
Returns the value of the arguments record component.
arguments() - Method in record class com.github.copilot.sdk.generated.ToolUserRequestedEvent.ToolUserRequestedEventData
Returns the value of the arguments record component.
ask() - Static method in record class com.github.copilot.sdk.json.PreToolUseHookOutput
Creates an output that asks for user confirmation before executing the tool.
AssistantIntentEvent - Class in com.github.copilot.sdk.generated
The assistant.intent session event.
AssistantIntentEvent() - Constructor for class com.github.copilot.sdk.generated.AssistantIntentEvent
 
AssistantIntentEvent.AssistantIntentEventData - Record Class in com.github.copilot.sdk.generated
Data payload for AssistantIntentEvent.
AssistantIntentEventData(String) - Constructor for record class com.github.copilot.sdk.generated.AssistantIntentEvent.AssistantIntentEventData
Creates an instance of a AssistantIntentEventData record class.
AssistantMessageDeltaEvent - Class in com.github.copilot.sdk.generated
The assistant.message_delta session event.
AssistantMessageDeltaEvent() - Constructor for class com.github.copilot.sdk.generated.AssistantMessageDeltaEvent
 
AssistantMessageDeltaEvent.AssistantMessageDeltaEventData - Record Class in com.github.copilot.sdk.generated
Data payload for AssistantMessageDeltaEvent.
AssistantMessageDeltaEventData(String, String, String) - Constructor for record class com.github.copilot.sdk.generated.AssistantMessageDeltaEvent.AssistantMessageDeltaEventData
Creates an instance of a AssistantMessageDeltaEventData record class.
AssistantMessageEvent - Class in com.github.copilot.sdk.generated
The assistant.message session event.
AssistantMessageEvent() - Constructor for class com.github.copilot.sdk.generated.AssistantMessageEvent
 
AssistantMessageEvent.AssistantMessageEventData - Record Class in com.github.copilot.sdk.generated
Data payload for AssistantMessageEvent.
AssistantMessageEvent.AssistantMessageEventData.AssistantMessageEventDataToolRequestsItem - Record Class in com.github.copilot.sdk.generated
A tool invocation request from the assistant
AssistantMessageEvent.AssistantMessageEventData.AssistantMessageEventDataToolRequestsItem.AssistantMessageEventDataToolRequestsItemType - Enum Class in com.github.copilot.sdk.generated
Tool call type: "function" for standard tool calls, "custom" for grammar-based tool calls.
AssistantMessageEventData(String, String, List<AssistantMessageEvent.AssistantMessageEventData.AssistantMessageEventDataToolRequestsItem>, String, String, String, String, Double, String, String, String) - Constructor for record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData
Creates an instance of a AssistantMessageEventData record class.
AssistantMessageEventDataToolRequestsItem(String, String, Object, AssistantMessageEvent.AssistantMessageEventData.AssistantMessageEventDataToolRequestsItem.AssistantMessageEventDataToolRequestsItemType, String, String, String) - Constructor for record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData.AssistantMessageEventDataToolRequestsItem
Creates an instance of a AssistantMessageEventDataToolRequestsItem record class.
AssistantReasoningDeltaEvent - Class in com.github.copilot.sdk.generated
The assistant.reasoning_delta session event.
AssistantReasoningDeltaEvent() - Constructor for class com.github.copilot.sdk.generated.AssistantReasoningDeltaEvent
 
AssistantReasoningDeltaEvent.AssistantReasoningDeltaEventData - Record Class in com.github.copilot.sdk.generated
AssistantReasoningDeltaEventData(String, String) - Constructor for record class com.github.copilot.sdk.generated.AssistantReasoningDeltaEvent.AssistantReasoningDeltaEventData
Creates an instance of a AssistantReasoningDeltaEventData record class.
AssistantReasoningEvent - Class in com.github.copilot.sdk.generated
The assistant.reasoning session event.
AssistantReasoningEvent() - Constructor for class com.github.copilot.sdk.generated.AssistantReasoningEvent
 
AssistantReasoningEvent.AssistantReasoningEventData - Record Class in com.github.copilot.sdk.generated
Data payload for AssistantReasoningEvent.
AssistantReasoningEventData(String, String) - Constructor for record class com.github.copilot.sdk.generated.AssistantReasoningEvent.AssistantReasoningEventData
Creates an instance of a AssistantReasoningEventData record class.
AssistantStreamingDeltaEvent - Class in com.github.copilot.sdk.generated
The assistant.streaming_delta session event.
AssistantStreamingDeltaEvent() - Constructor for class com.github.copilot.sdk.generated.AssistantStreamingDeltaEvent
 
AssistantStreamingDeltaEvent.AssistantStreamingDeltaEventData - Record Class in com.github.copilot.sdk.generated
AssistantStreamingDeltaEventData(Double) - Constructor for record class com.github.copilot.sdk.generated.AssistantStreamingDeltaEvent.AssistantStreamingDeltaEventData
Creates an instance of a AssistantStreamingDeltaEventData record class.
AssistantTurnEndEvent - Class in com.github.copilot.sdk.generated
The assistant.turn_end session event.
AssistantTurnEndEvent() - Constructor for class com.github.copilot.sdk.generated.AssistantTurnEndEvent
 
AssistantTurnEndEvent.AssistantTurnEndEventData - Record Class in com.github.copilot.sdk.generated
Data payload for AssistantTurnEndEvent.
AssistantTurnEndEventData(String) - Constructor for record class com.github.copilot.sdk.generated.AssistantTurnEndEvent.AssistantTurnEndEventData
Creates an instance of a AssistantTurnEndEventData record class.
AssistantTurnStartEvent - Class in com.github.copilot.sdk.generated
The assistant.turn_start session event.
AssistantTurnStartEvent() - Constructor for class com.github.copilot.sdk.generated.AssistantTurnStartEvent
 
AssistantTurnStartEvent.AssistantTurnStartEventData - Record Class in com.github.copilot.sdk.generated
Data payload for AssistantTurnStartEvent.
AssistantTurnStartEventData(String, String) - Constructor for record class com.github.copilot.sdk.generated.AssistantTurnStartEvent.AssistantTurnStartEventData
Creates an instance of a AssistantTurnStartEventData record class.
AssistantUsageEvent - Class in com.github.copilot.sdk.generated
The assistant.usage session event.
AssistantUsageEvent() - Constructor for class com.github.copilot.sdk.generated.AssistantUsageEvent
 
AssistantUsageEvent.AssistantUsageEventData - Record Class in com.github.copilot.sdk.generated
Data payload for AssistantUsageEvent.
AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataCopilotUsage - Record Class in com.github.copilot.sdk.generated
Per-request cost and usage data from the CAPI copilot_usage response field
AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataCopilotUsage.AssistantUsageEventDataCopilotUsageTokenDetailsItem - Record Class in com.github.copilot.sdk.generated
Token usage detail for a single billing category
AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataQuotaSnapshotsValue - Record Class in com.github.copilot.sdk.generated
 
AssistantUsageEventData(String, Double, Double, Double, Double, Double, Double, Double, Double, Double, String, String, String, String, Map<String, AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataQuotaSnapshotsValue>, AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataCopilotUsage, String) - Constructor for record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData
Creates an instance of a AssistantUsageEventData record class.
AssistantUsageEventDataCopilotUsage(List<AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataCopilotUsage.AssistantUsageEventDataCopilotUsageTokenDetailsItem>, Double) - Constructor for record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataCopilotUsage
Creates an instance of a AssistantUsageEventDataCopilotUsage record class.
AssistantUsageEventDataCopilotUsageTokenDetailsItem(Double, Double, Double, String) - Constructor for record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataCopilotUsage.AssistantUsageEventDataCopilotUsageTokenDetailsItem
Creates an instance of a AssistantUsageEventDataCopilotUsageTokenDetailsItem record class.
AssistantUsageEventDataQuotaSnapshotsValue(Boolean, Double, Double, Boolean, Double, Boolean, Double, OffsetDateTime) - Constructor for record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataQuotaSnapshotsValue
Creates an instance of a AssistantUsageEventDataQuotaSnapshotsValue record class.
Attachment - Record Class in com.github.copilot.sdk.json
Represents a file attachment to include with a message.
Attachment(String, String, String) - Constructor for record class com.github.copilot.sdk.json.Attachment
Creates an instance of a Attachment record class.
attachments() - Method in record class com.github.copilot.sdk.generated.UserMessageEvent.UserMessageEventData
Returns the value of the attachments record component.
autoApproveEdits() - Method in record class com.github.copilot.sdk.generated.ExitPlanModeCompletedEvent.ExitPlanModeCompletedEventData
Returns the value of the autoApproveEdits record component.
AUTOCLOSEABLE_TIMEOUT_SECONDS - Static variable in class com.github.copilot.sdk.CopilotClient
Timeout, in seconds, used by CopilotClient.close() when waiting for graceful shutdown via CopilotClient.stop().
AUTOPILOT - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionModeGetResult.SessionModeGetResultMode
The autopilot variant.
AUTOPILOT - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionModeSetParams.SessionModeSetParamsMode
The autopilot variant.
AUTOPILOT - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionModeSetResult.SessionModeSetResultMode
The autopilot variant.
AUTOPILOT - Enum constant in enum class com.github.copilot.sdk.generated.UserMessageEvent.UserMessageEventData.UserMessageEventDataAgentMode
The autopilot variant.
AzureOptions - Class in com.github.copilot.sdk.json
Azure OpenAI-specific configuration options.
AzureOptions() - Constructor for class com.github.copilot.sdk.json.AzureOptions
 

B

BACKGROUND - Static variable in class com.github.copilot.sdk.json.SessionLifecycleEventTypes
Event fired when a session moves to background (TUI+server mode).
baseCommit() - Method in record class com.github.copilot.sdk.generated.SessionContextChangedEvent.SessionContextChangedEventData
Returns the value of the baseCommit record component.
baseCommit() - Method in record class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData.SessionResumeEventDataContext
Returns the value of the baseCommit record component.
baseCommit() - Method in record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData.SessionStartEventDataContext
Returns the value of the baseCommit record component.
batchSize() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataCopilotUsage.AssistantUsageEventDataCopilotUsageTokenDetailsItem
Returns the value of the batchSize record component.
billing() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem
Returns the value of the billing record component.
binaryResultsForLlm() - Method in record class com.github.copilot.sdk.json.ToolResultObject
Returns the value of the binaryResultsForLlm record component.
birthtime() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsStatResult
Returns the value of the birthtime record component.
BlobAttachment - Class in com.github.copilot.sdk.json
Represents an inline base64-encoded binary attachment (blob) for messages.
BlobAttachment() - Constructor for class com.github.copilot.sdk.json.BlobAttachment
 
branch() - Method in record class com.github.copilot.sdk.generated.SessionContextChangedEvent.SessionContextChangedEventData
Returns the value of the branch record component.
branch() - Method in record class com.github.copilot.sdk.generated.SessionHandoffEvent.SessionHandoffEventData.SessionHandoffEventDataRepository
Returns the value of the branch record component.
branch() - Method in record class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData.SessionResumeEventDataContext
Returns the value of the branch record component.
branch() - Method in record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData.SessionStartEventDataContext
Returns the value of the branch record component.
BUILTIN - Enum constant in enum class com.github.copilot.sdk.generated.rpc.McpDiscoverResult.McpDiscoverResultServersItem.McpDiscoverResultServersItemSource
The builtin variant.

C

cachedInput() - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData.SessionCompactionCompleteEventDataCompactionTokensUsed
Returns the value of the cachedInput record component.
cacheReadTokens() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData
Returns the value of the cacheReadTokens record component.
cacheReadTokens() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.SessionUsageGetMetricsResultModelMetricsValue.SessionUsageGetMetricsResultModelMetricsValueUsage
Returns the value of the cacheReadTokens record component.
cacheReadTokens() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataModelMetricsValue.SessionShutdownEventDataModelMetricsValueUsage
Returns the value of the cacheReadTokens record component.
cacheWriteTokens() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData
Returns the value of the cacheWriteTokens record component.
cacheWriteTokens() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.SessionUsageGetMetricsResultModelMetricsValue.SessionUsageGetMetricsResultModelMetricsValueUsage
Returns the value of the cacheWriteTokens record component.
cacheWriteTokens() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataModelMetricsValue.SessionShutdownEventDataModelMetricsValueUsage
Returns the value of the cacheWriteTokens record component.
CANCEL - Enum constant in enum class com.github.copilot.sdk.generated.ElicitationCompletedEvent.ElicitationCompletedEventData.ElicitationCompletedEventDataAction
The cancel variant.
CANCEL - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionUiElicitationResult.SessionUiElicitationResultAction
The cancel variant.
CANCEL - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionUiHandlePendingElicitationParams.SessionUiHandlePendingElicitationParamsResult.SessionUiHandlePendingElicitationParamsResultAction
The cancel variant.
CANCEL - Enum constant in enum class com.github.copilot.sdk.json.ElicitationResultAction
The user dismissed the dialog without responding.
capabilities() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem
Returns the value of the capabilities record component.
capabilities() - Method in record class com.github.copilot.sdk.json.CreateSessionResponse
Returns the value of the capabilities record component.
capabilities() - Method in record class com.github.copilot.sdk.json.ResumeSessionResponse
Returns the value of the capabilities record component.
CapabilitiesChangedEvent - Class in com.github.copilot.sdk.generated
The capabilities.changed session event.
CapabilitiesChangedEvent() - Constructor for class com.github.copilot.sdk.generated.CapabilitiesChangedEvent
 
CapabilitiesChangedEvent.CapabilitiesChangedEventData - Record Class in com.github.copilot.sdk.generated
Data payload for CapabilitiesChangedEvent.
CapabilitiesChangedEvent.CapabilitiesChangedEventData.CapabilitiesChangedEventDataUi - Record Class in com.github.copilot.sdk.generated
UI capability changes
CapabilitiesChangedEventData(CapabilitiesChangedEvent.CapabilitiesChangedEventData.CapabilitiesChangedEventDataUi) - Constructor for record class com.github.copilot.sdk.generated.CapabilitiesChangedEvent.CapabilitiesChangedEventData
Creates an instance of a CapabilitiesChangedEventData record class.
CapabilitiesChangedEventDataUi(Boolean) - Constructor for record class com.github.copilot.sdk.generated.CapabilitiesChangedEvent.CapabilitiesChangedEventData.CapabilitiesChangedEventDataUi
Creates an instance of a CapabilitiesChangedEventDataUi record class.
checkpointNumber() - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData
Returns the value of the checkpointNumber record component.
checkpointPath() - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData
Returns the value of the checkpointPath record component.
choices() - Method in record class com.github.copilot.sdk.generated.UserInputRequestedEvent.UserInputRequestedEventData
Returns the value of the choices record component.
cleanupActions() - Method in record class com.github.copilot.sdk.json.SessionEndHookOutput
Returns the value of the cleanupActions record component.
clientId() - Method in record class com.github.copilot.sdk.generated.McpOauthRequiredEvent.McpOauthRequiredEventData.McpOauthRequiredEventDataStaticClientConfig
Returns the value of the clientId record component.
clone() - Method in class com.github.copilot.sdk.json.CopilotClientOptions
Creates a shallow clone of this CopilotClientOptions instance.
clone() - Method in class com.github.copilot.sdk.json.MessageOptions
Creates a shallow clone of this MessageOptions instance.
clone() - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Creates a shallow clone of this ResumeSessionConfig instance.
clone() - Method in class com.github.copilot.sdk.json.SessionConfig
Creates a shallow clone of this SessionConfig instance.
close() - Method in class com.github.copilot.sdk.CopilotClient
Closes this client using graceful shutdown semantics.
close() - Method in class com.github.copilot.sdk.CopilotSession
Disposes the session and releases all associated resources.
code() - Method in record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData.ToolExecutionCompleteEventDataError
Returns the value of the code record component.
CODE_CHANGE_RULES - Static variable in class com.github.copilot.sdk.json.SystemPromptSections
Coding rules, linting/testing, ecosystem tools, style.
codeChanges() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult
Returns the value of the codeChanges record component.
codeChanges() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData
Returns the value of the codeChanges record component.
com.github.copilot.sdk - package com.github.copilot.sdk
Core classes for the GitHub Copilot SDK for Java.
com.github.copilot.sdk.generated - package com.github.copilot.sdk.generated
 
com.github.copilot.sdk.generated.rpc - package com.github.copilot.sdk.generated.rpc
 
com.github.copilot.sdk.json - package com.github.copilot.sdk.json
Configuration classes and data transfer objects for the Copilot SDK.
command() - Method in record class com.github.copilot.sdk.generated.CommandExecuteEvent.CommandExecuteEventData
Returns the value of the command record component.
command() - Method in record class com.github.copilot.sdk.generated.CommandQueuedEvent.CommandQueuedEventData
Returns the value of the command record component.
command() - Method in record class com.github.copilot.sdk.generated.rpc.SessionShellExecParams
Returns the value of the command record component.
CommandCompletedEvent - Class in com.github.copilot.sdk.generated
The command.completed session event.
CommandCompletedEvent() - Constructor for class com.github.copilot.sdk.generated.CommandCompletedEvent
 
CommandCompletedEvent.CommandCompletedEventData - Record Class in com.github.copilot.sdk.generated
Data payload for CommandCompletedEvent.
CommandCompletedEventData(String) - Constructor for record class com.github.copilot.sdk.generated.CommandCompletedEvent.CommandCompletedEventData
Creates an instance of a CommandCompletedEventData record class.
CommandContext - Class in com.github.copilot.sdk.json
Context passed to a CommandHandler when a slash command is executed.
CommandContext() - Constructor for class com.github.copilot.sdk.json.CommandContext
 
CommandDefinition - Class in com.github.copilot.sdk.json
Defines a slash command that users can invoke from the CLI TUI.
CommandDefinition() - Constructor for class com.github.copilot.sdk.json.CommandDefinition
 
CommandExecuteEvent - Class in com.github.copilot.sdk.generated
The command.execute session event.
CommandExecuteEvent() - Constructor for class com.github.copilot.sdk.generated.CommandExecuteEvent
 
CommandExecuteEvent.CommandExecuteEventData - Record Class in com.github.copilot.sdk.generated
Data payload for CommandExecuteEvent.
CommandExecuteEventData(String, String, String, String) - Constructor for record class com.github.copilot.sdk.generated.CommandExecuteEvent.CommandExecuteEventData
Creates an instance of a CommandExecuteEventData record class.
CommandHandler - Interface in com.github.copilot.sdk.json
Functional interface for handling slash-command executions.
commandName() - Method in record class com.github.copilot.sdk.generated.CommandExecuteEvent.CommandExecuteEventData
Returns the value of the commandName record component.
CommandQueuedEvent - Class in com.github.copilot.sdk.generated
The command.queued session event.
CommandQueuedEvent() - Constructor for class com.github.copilot.sdk.generated.CommandQueuedEvent
 
CommandQueuedEvent.CommandQueuedEventData - Record Class in com.github.copilot.sdk.generated
Data payload for CommandQueuedEvent.
CommandQueuedEventData(String, String) - Constructor for record class com.github.copilot.sdk.generated.CommandQueuedEvent.CommandQueuedEventData
Creates an instance of a CommandQueuedEventData record class.
commands - Variable in class com.github.copilot.sdk.generated.rpc.SessionRpc
API methods for the commands namespace.
commands() - Method in record class com.github.copilot.sdk.generated.CommandsChangedEvent.CommandsChangedEventData
Returns the value of the commands record component.
CommandsChangedEvent - Class in com.github.copilot.sdk.generated
The commands.changed session event.
CommandsChangedEvent() - Constructor for class com.github.copilot.sdk.generated.CommandsChangedEvent
 
CommandsChangedEvent.CommandsChangedEventData - Record Class in com.github.copilot.sdk.generated
Data payload for CommandsChangedEvent.
CommandsChangedEvent.CommandsChangedEventData.CommandsChangedEventDataCommandsItem - Record Class in com.github.copilot.sdk.generated
 
CommandsChangedEventData(List<CommandsChangedEvent.CommandsChangedEventData.CommandsChangedEventDataCommandsItem>) - Constructor for record class com.github.copilot.sdk.generated.CommandsChangedEvent.CommandsChangedEventData
Creates an instance of a CommandsChangedEventData record class.
CommandsChangedEventDataCommandsItem(String, String) - Constructor for record class com.github.copilot.sdk.generated.CommandsChangedEvent.CommandsChangedEventData.CommandsChangedEventDataCommandsItem
Creates an instance of a CommandsChangedEventDataCommandsItem record class.
CommandWireDefinition - Class in com.github.copilot.sdk.json
Wire-format representation of a command definition for RPC serialization.
CommandWireDefinition() - Constructor for class com.github.copilot.sdk.json.CommandWireDefinition
Creates an empty definition.
CommandWireDefinition(String, String) - Constructor for class com.github.copilot.sdk.json.CommandWireDefinition
Creates a definition with name and description.
compact() - Method in class com.github.copilot.sdk.CopilotSession
Compacts the session context to reduce token usage.
compact() - Method in class com.github.copilot.sdk.generated.rpc.SessionHistoryApi
Invokes session.history.compact.
compactionTokensUsed() - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData
Returns the value of the compactionTokensUsed record component.
config - Variable in class com.github.copilot.sdk.generated.rpc.ServerMcpApi
API methods for the mcp.config sub-namespace.
config() - Method in record class com.github.copilot.sdk.generated.rpc.McpConfigAddParams
Returns the value of the config record component.
config() - Method in record class com.github.copilot.sdk.generated.rpc.McpConfigUpdateParams
Returns the value of the config record component.
confirm(String) - Method in interface com.github.copilot.sdk.json.SessionUiApi
Shows a confirmation dialog and returns the user's boolean answer.
CONNECTED - Enum constant in enum class com.github.copilot.sdk.ConnectionState
The client is connected and ready to accept requests.
CONNECTED - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionMcpListResult.SessionMcpListResultServersItem.SessionMcpListResultServersItemStatus
The connected variant.
CONNECTED - Enum constant in enum class com.github.copilot.sdk.generated.SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData.SessionMcpServersLoadedEventDataServersItem.SessionMcpServersLoadedEventDataServersItemStatus
The connected variant.
CONNECTED - Enum constant in enum class com.github.copilot.sdk.generated.SessionMcpServerStatusChangedEvent.SessionMcpServerStatusChangedEventData.SessionMcpServerStatusChangedEventDataStatus
The connected variant.
CONNECTING - Enum constant in enum class com.github.copilot.sdk.ConnectionState
The client is in the process of connecting to the server.
ConnectionState - Enum Class in com.github.copilot.sdk
Represents the connection state of a CopilotClient.
content() - Method in record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData
Returns the value of the content record component.
content() - Method in record class com.github.copilot.sdk.generated.AssistantReasoningEvent.AssistantReasoningEventData
Returns the value of the content record component.
content() - Method in record class com.github.copilot.sdk.generated.ElicitationCompletedEvent.ElicitationCompletedEventData
Returns the value of the content record component.
content() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsAppendFileParams
Returns the value of the content record component.
content() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReadFileResult
Returns the value of the content record component.
content() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsWriteFileParams
Returns the value of the content record component.
content() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPlanReadResult
Returns the value of the content record component.
content() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPlanUpdateParams
Returns the value of the content record component.
content() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiElicitationResult
Returns the value of the content record component.
content() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiHandlePendingElicitationParams.SessionUiHandlePendingElicitationParamsResult
Returns the value of the content record component.
content() - Method in record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceCreateFileParams
Returns the value of the content record component.
content() - Method in record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceReadFileResult
Returns the value of the content record component.
content() - Method in record class com.github.copilot.sdk.generated.SkillInvokedEvent.SkillInvokedEventData
Returns the value of the content record component.
content() - Method in record class com.github.copilot.sdk.generated.SystemMessageEvent.SystemMessageEventData
Returns the value of the content record component.
content() - Method in record class com.github.copilot.sdk.generated.SystemNotificationEvent.SystemNotificationEventData
Returns the value of the content record component.
content() - Method in record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData.ToolExecutionCompleteEventDataResult
Returns the value of the content record component.
content() - Method in record class com.github.copilot.sdk.generated.UserMessageEvent.UserMessageEventData
Returns the value of the content record component.
contents() - Method in record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData.ToolExecutionCompleteEventDataResult
Returns the value of the contents record component.
context() - Method in record class com.github.copilot.sdk.generated.SessionHandoffEvent.SessionHandoffEventData
Returns the value of the context record component.
context() - Method in record class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData
Returns the value of the context record component.
context() - Method in record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData
Returns the value of the context record component.
contextWindow() - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryCompactResult
Returns the value of the contextWindow record component.
conventions() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsSetProviderParams
Returns the value of the conventions record component.
conversationTokens() - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryCompactResult.SessionHistoryCompactResultContextWindow
Returns the value of the conversationTokens record component.
conversationTokens() - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData
Returns the value of the conversationTokens record component.
conversationTokens() - Method in record class com.github.copilot.sdk.generated.SessionCompactionStartEvent.SessionCompactionStartEventData
Returns the value of the conversationTokens record component.
conversationTokens() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData
Returns the value of the conversationTokens record component.
conversationTokens() - Method in record class com.github.copilot.sdk.generated.SessionUsageInfoEvent.SessionUsageInfoEventData
Returns the value of the conversationTokens record component.
CopilotClient - Class in com.github.copilot.sdk
Provides a client for interacting with the Copilot CLI server.
CopilotClient() - Constructor for class com.github.copilot.sdk.CopilotClient
Creates a new CopilotClient with default options.
CopilotClient(CopilotClientOptions) - Constructor for class com.github.copilot.sdk.CopilotClient
Creates a new CopilotClient with the specified options.
CopilotClientOptions - Class in com.github.copilot.sdk.json
Configuration options for creating a CopilotClient.
CopilotClientOptions() - Constructor for class com.github.copilot.sdk.json.CopilotClientOptions
 
CopilotSession - Class in com.github.copilot.sdk
Represents a single conversation session with the Copilot CLI.
copilotUsage() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData
Returns the value of the copilotUsage record component.
copilotVersion() - Method in record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData
Returns the value of the copilotVersion record component.
cost() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData
Returns the value of the cost record component.
cost() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.SessionUsageGetMetricsResultModelMetricsValue.SessionUsageGetMetricsResultModelMetricsValueRequests
Returns the value of the cost record component.
cost() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataModelMetricsValue.SessionShutdownEventDataModelMetricsValueRequests
Returns the value of the cost record component.
costPerBatch() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataCopilotUsage.AssistantUsageEventDataCopilotUsageTokenDetailsItem
Returns the value of the costPerBatch record component.
count() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.SessionUsageGetMetricsResultModelMetricsValue.SessionUsageGetMetricsResultModelMetricsValueRequests
Returns the value of the count record component.
count() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataModelMetricsValue.SessionShutdownEventDataModelMetricsValueRequests
Returns the value of the count record component.
create(String, String, Map<String, Object>, ToolHandler) - Static method in record class com.github.copilot.sdk.json.ToolDefinition
Creates a tool definition with a JSON schema for parameters.
CREATE - Enum constant in enum class com.github.copilot.sdk.generated.SessionPlanChangedEvent.SessionPlanChangedEventData.SessionPlanChangedEventDataOperation
The create variant.
CREATE - Enum constant in enum class com.github.copilot.sdk.generated.SessionWorkspaceFileChangedEvent.SessionWorkspaceFileChangedEventData.SessionWorkspaceFileChangedEventDataOperation
The create variant.
CREATED - Static variable in class com.github.copilot.sdk.json.SessionLifecycleEventTypes
Event fired when a session is created.
createFile(SessionWorkspaceCreateFileParams) - Method in class com.github.copilot.sdk.generated.rpc.SessionWorkspaceApi
Invokes session.workspace.createFile.
createOverride(String, String, Map<String, Object>, ToolHandler) - Static method in record class com.github.copilot.sdk.json.ToolDefinition
Creates a tool definition that overrides a built-in CLI tool.
createSession(SessionConfig) - Method in class com.github.copilot.sdk.CopilotClient
Creates a new Copilot session with the specified configuration.
CreateSessionRequest - Class in com.github.copilot.sdk.json
Internal request object for creating a new session.
CreateSessionRequest() - Constructor for class com.github.copilot.sdk.json.CreateSessionRequest
 
CreateSessionResponse - Record Class in com.github.copilot.sdk.json
Internal response object from creating a session.
CreateSessionResponse(String, String, SessionCapabilities) - Constructor for record class com.github.copilot.sdk.json.CreateSessionResponse
Creates an instance of a CreateSessionResponse record class.
createSkipPermission(String, String, Map<String, Object>, ToolHandler) - Static method in record class com.github.copilot.sdk.json.ToolDefinition
Creates a tool definition that skips the permission request.
currentModel() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult
Returns the value of the currentModel record component.
currentModel() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData
Returns the value of the currentModel record component.
currentTokens() - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryCompactResult.SessionHistoryCompactResultContextWindow
Returns the value of the currentTokens record component.
currentTokens() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData
Returns the value of the currentTokens record component.
currentTokens() - Method in record class com.github.copilot.sdk.generated.SessionUsageInfoEvent.SessionUsageInfoEventData
Returns the value of the currentTokens record component.
CUSTOM - Enum constant in enum class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData.AssistantMessageEventDataToolRequestsItem.AssistantMessageEventDataToolRequestsItemType
The custom variant.
CUSTOM_INSTRUCTIONS - Static variable in class com.github.copilot.sdk.json.SystemPromptSections
Repository and organization custom instructions.
CustomAgentConfig - Class in com.github.copilot.sdk.json
Configuration for a custom agent in a Copilot session.
CustomAgentConfig() - Constructor for class com.github.copilot.sdk.json.CustomAgentConfig
 
CUSTOMIZE - Enum constant in enum class com.github.copilot.sdk.SystemMessageMode
Override individual sections of the system prompt.
cwd() - Method in record class com.github.copilot.sdk.generated.rpc.SessionShellExecParams
Returns the value of the cwd record component.
cwd() - Method in record class com.github.copilot.sdk.generated.SessionContextChangedEvent.SessionContextChangedEventData
Returns the value of the cwd record component.
cwd() - Method in record class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData.SessionResumeEventDataContext
Returns the value of the cwd record component.
cwd() - Method in record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData.SessionStartEventDataContext
Returns the value of the cwd record component.
cwd() - Method in record class com.github.copilot.sdk.json.SessionEndHookInput
Returns the value of the cwd record component.
cwd() - Method in record class com.github.copilot.sdk.json.SessionStartHookInput
Returns the value of the cwd record component.
cwd() - Method in record class com.github.copilot.sdk.json.UserPromptSubmittedHookInput
Returns the value of the cwd record component.

D

data() - Method in record class com.github.copilot.sdk.json.ToolBinaryResult
Returns the value of the data record component.
DECLINE - Enum constant in enum class com.github.copilot.sdk.generated.ElicitationCompletedEvent.ElicitationCompletedEventData.ElicitationCompletedEventDataAction
The decline variant.
DECLINE - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionUiElicitationResult.SessionUiElicitationResultAction
The decline variant.
DECLINE - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionUiHandlePendingElicitationParams.SessionUiHandlePendingElicitationParamsResult.SessionUiHandlePendingElicitationParamsResultAction
The decline variant.
DECLINE - Enum constant in enum class com.github.copilot.sdk.json.ElicitationResultAction
The user explicitly rejected the request.
defaultReasoningEffort() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem
Returns the value of the defaultReasoningEffort record component.
delete() - Method in class com.github.copilot.sdk.generated.rpc.SessionPlanApi
Invokes session.plan.delete.
DELETE - Enum constant in enum class com.github.copilot.sdk.generated.SessionPlanChangedEvent.SessionPlanChangedEventData.SessionPlanChangedEventDataOperation
The delete variant.
DELETED - Static variable in class com.github.copilot.sdk.json.SessionLifecycleEventTypes
Event fired when a session is deleted.
deleteSession(String) - Method in class com.github.copilot.sdk.CopilotClient
Permanently deletes a session and all its data from disk, including conversation history, planning state, and artifacts.
DeleteSessionResponse - Record Class in com.github.copilot.sdk.json
Internal response object from deleting a session.
DeleteSessionResponse(boolean, String) - Constructor for record class com.github.copilot.sdk.json.DeleteSessionResponse
Creates an instance of a DeleteSessionResponse record class.
deltaContent() - Method in record class com.github.copilot.sdk.generated.AssistantMessageDeltaEvent.AssistantMessageDeltaEventData
Returns the value of the deltaContent record component.
deltaContent() - Method in record class com.github.copilot.sdk.generated.AssistantReasoningDeltaEvent.AssistantReasoningDeltaEventData
Returns the value of the deltaContent record component.
DENIED_BY_CONTENT_EXCLUSION_POLICY - Enum constant in enum class com.github.copilot.sdk.generated.PermissionCompletedEvent.PermissionCompletedEventData.PermissionCompletedEventDataResult.PermissionCompletedEventDataResultKind
The denied-by-content-exclusion-policy variant.
DENIED_BY_PERMISSION_REQUEST_HOOK - Enum constant in enum class com.github.copilot.sdk.generated.PermissionCompletedEvent.PermissionCompletedEventData.PermissionCompletedEventDataResult.PermissionCompletedEventDataResultKind
The denied-by-permission-request-hook variant.
DENIED_BY_RULES - Enum constant in enum class com.github.copilot.sdk.generated.PermissionCompletedEvent.PermissionCompletedEventData.PermissionCompletedEventDataResult.PermissionCompletedEventDataResultKind
The denied-by-rules variant.
DENIED_BY_RULES - Static variable in class com.github.copilot.sdk.json.PermissionRequestResultKind
The permission was denied by policy rules.
DENIED_COULD_NOT_REQUEST_FROM_USER - Static variable in class com.github.copilot.sdk.json.PermissionRequestResultKind
The permission was denied because no approval rule was found and the user could not be prompted.
DENIED_INTERACTIVELY_BY_USER - Enum constant in enum class com.github.copilot.sdk.generated.PermissionCompletedEvent.PermissionCompletedEventData.PermissionCompletedEventDataResult.PermissionCompletedEventDataResultKind
The denied-interactively-by-user variant.
DENIED_INTERACTIVELY_BY_USER - Static variable in class com.github.copilot.sdk.json.PermissionRequestResultKind
The permission was denied interactively by the user.
DENIED_NO_APPROVAL_RULE_AND_COULD_NOT_REQUEST_FROM_USER - Enum constant in enum class com.github.copilot.sdk.generated.PermissionCompletedEvent.PermissionCompletedEventData.PermissionCompletedEventDataResult.PermissionCompletedEventDataResultKind
The denied-no-approval-rule-and-could-not-request-from-user variant.
deny() - Static method in record class com.github.copilot.sdk.json.PreToolUseHookOutput
Creates an output that denies the tool execution.
deny(String) - Static method in record class com.github.copilot.sdk.json.PreToolUseHookOutput
Creates an output that denies the tool execution with a reason.
description() - Method in record class com.github.copilot.sdk.generated.CommandsChangedEvent.CommandsChangedEventData.CommandsChangedEventDataCommandsItem
Returns the value of the description record component.
description() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentGetCurrentResult.SessionAgentGetCurrentResultAgent
Returns the value of the description record component.
description() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentListResult.SessionAgentListResultAgentsItem
Returns the value of the description record component.
description() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentReloadResult.SessionAgentReloadResultAgentsItem
Returns the value of the description record component.
description() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentSelectResult.SessionAgentSelectResultAgent
Returns the value of the description record component.
description() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsListResult.SessionSkillsListResultSkillsItem
Returns the value of the description record component.
description() - Method in record class com.github.copilot.sdk.generated.rpc.ToolsListResult.ToolsListResultToolsItem
Returns the value of the description record component.
description() - Method in record class com.github.copilot.sdk.generated.SessionCustomAgentsUpdatedEvent.SessionCustomAgentsUpdatedEventData.SessionCustomAgentsUpdatedEventDataAgentsItem
Returns the value of the description record component.
description() - Method in record class com.github.copilot.sdk.generated.SessionSkillsLoadedEvent.SessionSkillsLoadedEventData.SessionSkillsLoadedEventDataSkillsItem
Returns the value of the description record component.
description() - Method in record class com.github.copilot.sdk.generated.SkillInvokedEvent.SkillInvokedEventData
Returns the value of the description record component.
description() - Method in record class com.github.copilot.sdk.json.ToolBinaryResult
Returns the value of the description record component.
description() - Method in record class com.github.copilot.sdk.json.ToolDefinition
Returns the value of the description record component.
deselect() - Method in class com.github.copilot.sdk.generated.rpc.SessionAgentApi
Invokes session.agent.deselect.
deselectAgent() - Method in class com.github.copilot.sdk.CopilotSession
Deselects the currently selected custom agent, returning to the default agent.
dest() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsRenameParams
Returns the value of the dest record component.
detailedContent() - Method in record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData.ToolExecutionCompleteEventDataResult
Returns the value of the detailedContent record component.
DEVELOPER - Enum constant in enum class com.github.copilot.sdk.generated.SystemMessageEvent.SystemMessageEventData.SystemMessageEventDataRole
The developer variant.
DIRECTORY - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionFsReaddirWithTypesResult.SessionFsReaddirWithTypesResultEntriesItem.SessionFsReaddirWithTypesResultEntriesItemType
The directory variant.
disable(SessionExtensionsDisableParams) - Method in class com.github.copilot.sdk.generated.rpc.SessionExtensionsApi
Invokes session.extensions.disable.
disable(SessionMcpDisableParams) - Method in class com.github.copilot.sdk.generated.rpc.SessionMcpApi
Invokes session.mcp.disable.
disable(SessionSkillsDisableParams) - Method in class com.github.copilot.sdk.generated.rpc.SessionSkillsApi
Invokes session.skills.disable.
DISABLED - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult.SessionExtensionsListResultExtensionsItem.SessionExtensionsListResultExtensionsItemStatus
The disabled variant.
DISABLED - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionMcpListResult.SessionMcpListResultServersItem.SessionMcpListResultServersItemStatus
The disabled variant.
DISABLED - Enum constant in enum class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData.SessionExtensionsLoadedEventDataExtensionsItem.SessionExtensionsLoadedEventDataExtensionsItemStatus
The disabled variant.
DISABLED - Enum constant in enum class com.github.copilot.sdk.generated.SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData.SessionMcpServersLoadedEventDataServersItem.SessionMcpServersLoadedEventDataServersItemStatus
The disabled variant.
DISABLED - Enum constant in enum class com.github.copilot.sdk.generated.SessionMcpServerStatusChangedEvent.SessionMcpServerStatusChangedEventData.SessionMcpServerStatusChangedEventDataStatus
The disabled variant.
DISCONNECTED - Enum constant in enum class com.github.copilot.sdk.ConnectionState
The client is not connected to the server.
discover(McpDiscoverParams) - Method in class com.github.copilot.sdk.generated.rpc.ServerMcpApi
Invokes mcp.discover.
displayName() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentGetCurrentResult.SessionAgentGetCurrentResultAgent
Returns the value of the displayName record component.
displayName() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentListResult.SessionAgentListResultAgentsItem
Returns the value of the displayName record component.
displayName() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentReloadResult.SessionAgentReloadResultAgentsItem
Returns the value of the displayName record component.
displayName() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentSelectResult.SessionAgentSelectResultAgent
Returns the value of the displayName record component.
displayName() - Method in record class com.github.copilot.sdk.generated.SessionCustomAgentsUpdatedEvent.SessionCustomAgentsUpdatedEventData.SessionCustomAgentsUpdatedEventDataAgentsItem
Returns the value of the displayName record component.
displayName() - Method in record class com.github.copilot.sdk.json.Attachment
Returns the value of the displayName record component.
duration() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData
Returns the value of the duration record component.
durationMs() - Method in record class com.github.copilot.sdk.generated.SubagentCompletedEvent.SubagentCompletedEventData
Returns the value of the durationMs record component.
durationMs() - Method in record class com.github.copilot.sdk.generated.SubagentFailedEvent.SubagentFailedEventData
Returns the value of the durationMs record component.

E

elicitation() - Method in record class com.github.copilot.sdk.generated.CapabilitiesChangedEvent.CapabilitiesChangedEventData.CapabilitiesChangedEventDataUi
Returns the value of the elicitation record component.
elicitation(SessionUiElicitationParams) - Method in class com.github.copilot.sdk.generated.rpc.SessionUiApi
Invokes session.ui.elicitation.
elicitation(ElicitationParams) - Method in interface com.github.copilot.sdk.json.SessionUiApi
Shows a generic elicitation dialog with a custom schema.
ElicitationCompletedEvent - Class in com.github.copilot.sdk.generated
The elicitation.completed session event.
ElicitationCompletedEvent() - Constructor for class com.github.copilot.sdk.generated.ElicitationCompletedEvent
 
ElicitationCompletedEvent.ElicitationCompletedEventData - Record Class in com.github.copilot.sdk.generated
Data payload for ElicitationCompletedEvent.
ElicitationCompletedEvent.ElicitationCompletedEventData.ElicitationCompletedEventDataAction - Enum Class in com.github.copilot.sdk.generated
The user action: "accept" (submitted form), "decline" (explicitly refused), or "cancel" (dismissed)
ElicitationCompletedEventData(String, ElicitationCompletedEvent.ElicitationCompletedEventData.ElicitationCompletedEventDataAction, Map<String, Object>) - Constructor for record class com.github.copilot.sdk.generated.ElicitationCompletedEvent.ElicitationCompletedEventData
Creates an instance of a ElicitationCompletedEventData record class.
ElicitationContext - Class in com.github.copilot.sdk.json
Context for an elicitation request received from the server or MCP tools.
ElicitationContext() - Constructor for class com.github.copilot.sdk.json.ElicitationContext
 
ElicitationHandler - Interface in com.github.copilot.sdk.json
Functional interface for handling elicitation requests from the server.
ElicitationParams - Class in com.github.copilot.sdk.json
Parameters for an elicitation request sent from the SDK to the host.
ElicitationParams() - Constructor for class com.github.copilot.sdk.json.ElicitationParams
 
ElicitationRequestedEvent - Class in com.github.copilot.sdk.generated
The elicitation.requested session event.
ElicitationRequestedEvent() - Constructor for class com.github.copilot.sdk.generated.ElicitationRequestedEvent
 
ElicitationRequestedEvent.ElicitationRequestedEventData - Record Class in com.github.copilot.sdk.generated
Data payload for ElicitationRequestedEvent.
ElicitationRequestedEvent.ElicitationRequestedEventData.ElicitationRequestedEventDataMode - Enum Class in com.github.copilot.sdk.generated
Elicitation mode; "form" for structured input, "url" for browser-based.
ElicitationRequestedEvent.ElicitationRequestedEventData.ElicitationRequestedEventDataRequestedSchema - Record Class in com.github.copilot.sdk.generated
JSON Schema describing the form fields to present to the user (form mode only)
ElicitationRequestedEventData(String, String, String, String, ElicitationRequestedEvent.ElicitationRequestedEventData.ElicitationRequestedEventDataMode, ElicitationRequestedEvent.ElicitationRequestedEventData.ElicitationRequestedEventDataRequestedSchema, String) - Constructor for record class com.github.copilot.sdk.generated.ElicitationRequestedEvent.ElicitationRequestedEventData
Creates an instance of a ElicitationRequestedEventData record class.
ElicitationRequestedEventDataRequestedSchema(String, Map<String, Object>, List<String>) - Constructor for record class com.github.copilot.sdk.generated.ElicitationRequestedEvent.ElicitationRequestedEventData.ElicitationRequestedEventDataRequestedSchema
Creates an instance of a ElicitationRequestedEventDataRequestedSchema record class.
ElicitationResult - Class in com.github.copilot.sdk.json
Result returned from an elicitation dialog.
ElicitationResult() - Constructor for class com.github.copilot.sdk.json.ElicitationResult
 
ElicitationResultAction - Enum Class in com.github.copilot.sdk.json
Action value for an ElicitationResult.
ElicitationSchema - Class in com.github.copilot.sdk.json
JSON Schema describing the form fields to present for an elicitation dialog.
ElicitationSchema() - Constructor for class com.github.copilot.sdk.json.ElicitationSchema
 
elicitationSource() - Method in record class com.github.copilot.sdk.generated.ElicitationRequestedEvent.ElicitationRequestedEventData
Returns the value of the elicitationSource record component.
enable(SessionExtensionsEnableParams) - Method in class com.github.copilot.sdk.generated.rpc.SessionExtensionsApi
Invokes session.extensions.enable.
enable(SessionMcpEnableParams) - Method in class com.github.copilot.sdk.generated.rpc.SessionMcpApi
Invokes session.mcp.enable.
enable(SessionSkillsEnableParams) - Method in class com.github.copilot.sdk.generated.rpc.SessionSkillsApi
Invokes session.skills.enable.
enabled() - Method in record class com.github.copilot.sdk.generated.rpc.McpDiscoverResult.McpDiscoverResultServersItem
Returns the value of the enabled record component.
enabled() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPluginsListResult.SessionPluginsListResultPluginsItem
Returns the value of the enabled record component.
enabled() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsListResult.SessionSkillsListResultSkillsItem
Returns the value of the enabled record component.
enabled() - Method in record class com.github.copilot.sdk.generated.SessionSkillsLoadedEvent.SessionSkillsLoadedEventData.SessionSkillsLoadedEventDataSkillsItem
Returns the value of the enabled record component.
encryptedContent() - Method in record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData
Returns the value of the encryptedContent record component.
entitlementRequests() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataQuotaSnapshotsValue
Returns the value of the entitlementRequests record component.
entitlementRequests() - Method in record class com.github.copilot.sdk.generated.rpc.AccountGetQuotaResult.AccountGetQuotaResultQuotaSnapshotsValue
Returns the value of the entitlementRequests record component.
entries() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReaddirResult
Returns the value of the entries record component.
entries() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReaddirWithTypesResult
Returns the value of the entries record component.
ENVIRONMENT_CONTEXT - Static variable in class com.github.copilot.sdk.json.SystemPromptSections
CWD, OS, git root, directory listing, available tools.
ephemeral() - Method in record class com.github.copilot.sdk.generated.rpc.SessionLogParams
Returns the value of the ephemeral record component.
equals(Object) - Method in record class com.github.copilot.sdk.generated.AbortEvent.AbortEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.AssistantIntentEvent.AssistantIntentEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.AssistantMessageDeltaEvent.AssistantMessageDeltaEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData.AssistantMessageEventDataToolRequestsItem
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.AssistantReasoningDeltaEvent.AssistantReasoningDeltaEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.AssistantReasoningEvent.AssistantReasoningEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.AssistantStreamingDeltaEvent.AssistantStreamingDeltaEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.AssistantTurnEndEvent.AssistantTurnEndEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.AssistantTurnStartEvent.AssistantTurnStartEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataCopilotUsage.AssistantUsageEventDataCopilotUsageTokenDetailsItem
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataCopilotUsage
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataQuotaSnapshotsValue
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.CapabilitiesChangedEvent.CapabilitiesChangedEventData.CapabilitiesChangedEventDataUi
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.CapabilitiesChangedEvent.CapabilitiesChangedEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.CommandCompletedEvent.CommandCompletedEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.CommandExecuteEvent.CommandExecuteEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.CommandQueuedEvent.CommandQueuedEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.CommandsChangedEvent.CommandsChangedEventData.CommandsChangedEventDataCommandsItem
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.CommandsChangedEvent.CommandsChangedEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.ElicitationCompletedEvent.ElicitationCompletedEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.ElicitationRequestedEvent.ElicitationRequestedEventData.ElicitationRequestedEventDataRequestedSchema
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.ElicitationRequestedEvent.ElicitationRequestedEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.ExitPlanModeCompletedEvent.ExitPlanModeCompletedEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.ExitPlanModeRequestedEvent.ExitPlanModeRequestedEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.ExternalToolCompletedEvent.ExternalToolCompletedEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.ExternalToolRequestedEvent.ExternalToolRequestedEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.HookEndEvent.HookEndEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.HookEndEvent.HookEndEventData.HookEndEventDataError
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.HookStartEvent.HookStartEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.McpOauthCompletedEvent.McpOauthCompletedEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.McpOauthRequiredEvent.McpOauthRequiredEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.McpOauthRequiredEvent.McpOauthRequiredEventData.McpOauthRequiredEventDataStaticClientConfig
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.PendingMessagesModifiedEvent.PendingMessagesModifiedEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.PermissionCompletedEvent.PermissionCompletedEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.PermissionCompletedEvent.PermissionCompletedEventData.PermissionCompletedEventDataResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.PermissionRequestedEvent.PermissionRequestedEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.AccountGetQuotaResult.AccountGetQuotaResultQuotaSnapshotsValue
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.AccountGetQuotaResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.McpConfigAddParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.McpConfigListResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.McpConfigRemoveParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.McpConfigUpdateParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.McpDiscoverParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.McpDiscoverResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.McpDiscoverResult.McpDiscoverResultServersItem
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemBilling
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities.ModelsListResultModelsItemCapabilitiesLimits
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities.ModelsListResultModelsItemCapabilitiesLimits.ModelsListResultModelsItemCapabilitiesLimitsVision
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities.ModelsListResultModelsItemCapabilitiesSupports
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemPolicy
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.PingParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.PingResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentDeselectParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentDeselectResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentGetCurrentParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentGetCurrentResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentGetCurrentResult.SessionAgentGetCurrentResultAgent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentListParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentListResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentListResult.SessionAgentListResultAgentsItem
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentReloadParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentReloadResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentReloadResult.SessionAgentReloadResultAgentsItem
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentSelectParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentSelectResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentSelectResult.SessionAgentSelectResultAgent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionCommandsHandlePendingCommandParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionCommandsHandlePendingCommandResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsDisableParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsDisableResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsEnableParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsEnableResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsListParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult.SessionExtensionsListResultExtensionsItem
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsReloadParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsReloadResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionFleetStartParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionFleetStartResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsAppendFileParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsExistsParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsExistsResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsMkdirParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReaddirParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReaddirResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReaddirWithTypesParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReaddirWithTypesResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReaddirWithTypesResult.SessionFsReaddirWithTypesResultEntriesItem
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReadFileParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReadFileResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsRenameParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsRmParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsSetProviderParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsSetProviderResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsStatParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsStatResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsWriteFileParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryCompactParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryCompactResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryCompactResult.SessionHistoryCompactResultContextWindow
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryTruncateParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryTruncateResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionLogParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionLogResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpDisableParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpDisableResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpEnableParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpEnableResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpListParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpListResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpListResult.SessionMcpListResultServersItem
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpReloadParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpReloadResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionModeGetParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionModeGetResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelGetCurrentParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelGetCurrentResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities.SessionModelSwitchToParamsModelCapabilitiesLimits
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities.SessionModelSwitchToParamsModelCapabilitiesLimits.SessionModelSwitchToParamsModelCapabilitiesLimitsVision
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities.SessionModelSwitchToParamsModelCapabilitiesSupports
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionModeSetParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionModeSetResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionPermissionsHandlePendingPermissionRequestParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionPermissionsHandlePendingPermissionRequestResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionPlanDeleteParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionPlanDeleteResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionPlanReadParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionPlanReadResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionPlanUpdateParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionPlanUpdateResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionPluginsListParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionPluginsListResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionPluginsListResult.SessionPluginsListResultPluginsItem
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionsForkParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionsForkResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionShellExecParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionShellExecResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionShellKillParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionShellKillResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsDisableParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsDisableResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsEnableParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsEnableResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsListParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsListResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsListResult.SessionSkillsListResultSkillsItem
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsReloadParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsReloadResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionToolsHandlePendingToolCallParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionToolsHandlePendingToolCallResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiElicitationParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiElicitationParams.SessionUiElicitationParamsRequestedSchema
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiElicitationResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiHandlePendingElicitationParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiHandlePendingElicitationParams.SessionUiHandlePendingElicitationParamsResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiHandlePendingElicitationResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.SessionUsageGetMetricsResultCodeChanges
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.SessionUsageGetMetricsResultModelMetricsValue
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.SessionUsageGetMetricsResultModelMetricsValue.SessionUsageGetMetricsResultModelMetricsValueRequests
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.SessionUsageGetMetricsResultModelMetricsValue.SessionUsageGetMetricsResultModelMetricsValueUsage
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceCreateFileParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceCreateFileResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceListFilesParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceListFilesResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceReadFileParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceReadFileResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.ToolsListParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.ToolsListResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.rpc.ToolsListResult.ToolsListResultToolsItem
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SamplingCompletedEvent.SamplingCompletedEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SamplingRequestedEvent.SamplingRequestedEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SessionBackgroundTasksChangedEvent.SessionBackgroundTasksChangedEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData.SessionCompactionCompleteEventDataCompactionTokensUsed
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SessionCompactionStartEvent.SessionCompactionStartEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SessionContextChangedEvent.SessionContextChangedEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SessionCustomAgentsUpdatedEvent.SessionCustomAgentsUpdatedEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SessionCustomAgentsUpdatedEvent.SessionCustomAgentsUpdatedEventData.SessionCustomAgentsUpdatedEventDataAgentsItem
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SessionErrorEvent.SessionErrorEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData.SessionExtensionsLoadedEventDataExtensionsItem
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SessionHandoffEvent.SessionHandoffEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SessionHandoffEvent.SessionHandoffEventData.SessionHandoffEventDataRepository
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SessionIdleEvent.SessionIdleEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SessionInfoEvent.SessionInfoEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData.SessionMcpServersLoadedEventDataServersItem
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SessionMcpServerStatusChangedEvent.SessionMcpServerStatusChangedEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SessionModeChangedEvent.SessionModeChangedEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SessionModelChangeEvent.SessionModelChangeEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SessionPlanChangedEvent.SessionPlanChangedEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SessionRemoteSteerableChangedEvent.SessionRemoteSteerableChangedEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData.SessionResumeEventDataContext
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataCodeChanges
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataModelMetricsValue
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataModelMetricsValue.SessionShutdownEventDataModelMetricsValueRequests
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataModelMetricsValue.SessionShutdownEventDataModelMetricsValueUsage
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SessionSkillsLoadedEvent.SessionSkillsLoadedEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SessionSkillsLoadedEvent.SessionSkillsLoadedEventData.SessionSkillsLoadedEventDataSkillsItem
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SessionSnapshotRewindEvent.SessionSnapshotRewindEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData.SessionStartEventDataContext
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SessionTaskCompleteEvent.SessionTaskCompleteEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SessionTitleChangedEvent.SessionTitleChangedEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SessionToolsUpdatedEvent.SessionToolsUpdatedEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SessionTruncationEvent.SessionTruncationEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SessionUsageInfoEvent.SessionUsageInfoEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SessionWarningEvent.SessionWarningEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SessionWorkspaceFileChangedEvent.SessionWorkspaceFileChangedEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SkillInvokedEvent.SkillInvokedEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SubagentCompletedEvent.SubagentCompletedEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SubagentDeselectedEvent.SubagentDeselectedEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SubagentFailedEvent.SubagentFailedEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SubagentSelectedEvent.SubagentSelectedEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SubagentStartedEvent.SubagentStartedEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SystemMessageEvent.SystemMessageEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SystemMessageEvent.SystemMessageEventData.SystemMessageEventDataMetadata
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.SystemNotificationEvent.SystemNotificationEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData.ToolExecutionCompleteEventDataError
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData.ToolExecutionCompleteEventDataResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.ToolExecutionPartialResultEvent.ToolExecutionPartialResultEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.ToolExecutionProgressEvent.ToolExecutionProgressEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.ToolExecutionStartEvent.ToolExecutionStartEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.ToolUserRequestedEvent.ToolUserRequestedEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.UserInputCompletedEvent.UserInputCompletedEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.UserInputRequestedEvent.UserInputRequestedEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.generated.UserMessageEvent.UserMessageEventData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.json.Attachment
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.json.CreateSessionResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.json.DeleteSessionResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.json.GetForegroundSessionResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.json.GetLastSessionIdResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.json.GetMessagesResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.json.GetSessionMetadataResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.json.ListSessionsResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class com.github.copilot.sdk.json.PermissionRequestResultKind
 
equals(Object) - Method in record class com.github.copilot.sdk.json.PingResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.json.PostToolUseHookOutput
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.json.PreToolUseHookOutput
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.json.ResumeSessionResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.json.SendMessageResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.json.SessionEndHookInput
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.json.SessionEndHookOutput
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.json.SessionLifecycleEventMetadata
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.json.SessionStartHookInput
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.json.SessionStartHookOutput
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.json.SetForegroundSessionResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.json.ToolBinaryResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.json.ToolDefinition
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.json.ToolResultObject
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.json.UserPromptSubmittedHookInput
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.github.copilot.sdk.json.UserPromptSubmittedHookOutput
Indicates whether some other object is "equal to" this one.
error() - Method in record class com.github.copilot.sdk.generated.HookEndEvent.HookEndEventData
Returns the value of the error record component.
error() - Method in record class com.github.copilot.sdk.generated.rpc.SessionCommandsHandlePendingCommandParams
Returns the value of the error record component.
error() - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpListResult.SessionMcpListResultServersItem
Returns the value of the error record component.
error() - Method in record class com.github.copilot.sdk.generated.rpc.SessionToolsHandlePendingToolCallParams
Returns the value of the error record component.
error() - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData
Returns the value of the error record component.
error() - Method in record class com.github.copilot.sdk.generated.SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData.SessionMcpServersLoadedEventDataServersItem
Returns the value of the error record component.
error() - Method in record class com.github.copilot.sdk.generated.SubagentFailedEvent.SubagentFailedEventData
Returns the value of the error record component.
error() - Method in record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData
Returns the value of the error record component.
error() - Method in record class com.github.copilot.sdk.json.DeleteSessionResponse
Returns the value of the error record component.
error() - Method in record class com.github.copilot.sdk.json.SessionEndHookInput
Returns the value of the error record component.
error() - Method in record class com.github.copilot.sdk.json.SetForegroundSessionResponse
Returns the value of the error record component.
error() - Method in record class com.github.copilot.sdk.json.ToolResultObject
Returns the value of the error record component.
error(String) - Static method in record class com.github.copilot.sdk.json.ToolResultObject
Creates an error result with the given error message.
error(String, String) - Static method in record class com.github.copilot.sdk.json.ToolResultObject
Creates an error result with both a text result and error message.
ERROR - Enum constant in enum class com.github.copilot.sdk.ConnectionState
The client encountered an error during connection or operation.
ERROR - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionLogParams.SessionLogParamsLevel
The error variant.
ERROR - Enum constant in enum class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataShutdownType
The error variant.
errorReason() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData
Returns the value of the errorReason record component.
errors() - Method in record class com.github.copilot.sdk.generated.SessionCustomAgentsUpdatedEvent.SessionCustomAgentsUpdatedEventData
Returns the value of the errors record component.
errorType() - Method in record class com.github.copilot.sdk.generated.SessionErrorEvent.SessionErrorEventData
Returns the value of the errorType record component.
eventCount() - Method in record class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData
Returns the value of the eventCount record component.
EventErrorHandler - Interface in com.github.copilot.sdk
A handler for errors thrown by event handlers during event dispatch.
EventErrorPolicy - Enum Class in com.github.copilot.sdk
Controls how event dispatch behaves when an event handler throws an exception.
eventId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryTruncateParams
Returns the value of the eventId record component.
eventId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionLogResult
Returns the value of the eventId record component.
events() - Method in record class com.github.copilot.sdk.json.GetMessagesResponse
Returns the value of the events record component.
eventsRemoved() - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryTruncateResult
Returns the value of the eventsRemoved record component.
eventsRemoved() - Method in record class com.github.copilot.sdk.generated.SessionSnapshotRewindEvent.SessionSnapshotRewindEventData
Returns the value of the eventsRemoved record component.
exec(SessionShellExecParams) - Method in class com.github.copilot.sdk.generated.rpc.SessionShellApi
Invokes session.shell.exec.
exists() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsExistsResult
Returns the value of the exists record component.
exists() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPlanReadResult
Returns the value of the exists record component.
ExitPlanModeCompletedEvent - Class in com.github.copilot.sdk.generated
The exit_plan_mode.completed session event.
ExitPlanModeCompletedEvent() - Constructor for class com.github.copilot.sdk.generated.ExitPlanModeCompletedEvent
 
ExitPlanModeCompletedEvent.ExitPlanModeCompletedEventData - Record Class in com.github.copilot.sdk.generated
Data payload for ExitPlanModeCompletedEvent.
ExitPlanModeCompletedEventData(String, Boolean, String, Boolean, String) - Constructor for record class com.github.copilot.sdk.generated.ExitPlanModeCompletedEvent.ExitPlanModeCompletedEventData
Creates an instance of a ExitPlanModeCompletedEventData record class.
ExitPlanModeRequestedEvent - Class in com.github.copilot.sdk.generated
The exit_plan_mode.requested session event.
ExitPlanModeRequestedEvent() - Constructor for class com.github.copilot.sdk.generated.ExitPlanModeRequestedEvent
 
ExitPlanModeRequestedEvent.ExitPlanModeRequestedEventData - Record Class in com.github.copilot.sdk.generated
Data payload for ExitPlanModeRequestedEvent.
ExitPlanModeRequestedEventData(String, String, String, List<String>, String) - Constructor for record class com.github.copilot.sdk.generated.ExitPlanModeRequestedEvent.ExitPlanModeRequestedEventData
Creates an instance of a ExitPlanModeRequestedEventData record class.
extensions - Variable in class com.github.copilot.sdk.generated.rpc.SessionRpc
API methods for the extensions namespace.
extensions() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult
Returns the value of the extensions record component.
extensions() - Method in record class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData
Returns the value of the extensions record component.
ExternalToolCompletedEvent - Class in com.github.copilot.sdk.generated
The external_tool.completed session event.
ExternalToolCompletedEvent() - Constructor for class com.github.copilot.sdk.generated.ExternalToolCompletedEvent
 
ExternalToolCompletedEvent.ExternalToolCompletedEventData - Record Class in com.github.copilot.sdk.generated
Data payload for ExternalToolCompletedEvent.
ExternalToolCompletedEventData(String) - Constructor for record class com.github.copilot.sdk.generated.ExternalToolCompletedEvent.ExternalToolCompletedEventData
Creates an instance of a ExternalToolCompletedEventData record class.
ExternalToolRequestedEvent - Class in com.github.copilot.sdk.generated
The external_tool.requested session event.
ExternalToolRequestedEvent() - Constructor for class com.github.copilot.sdk.generated.ExternalToolRequestedEvent
 
ExternalToolRequestedEvent.ExternalToolRequestedEventData - Record Class in com.github.copilot.sdk.generated
Data payload for ExternalToolRequestedEvent.
ExternalToolRequestedEventData(String, String, String, String, Object, String, String) - Constructor for record class com.github.copilot.sdk.generated.ExternalToolRequestedEvent.ExternalToolRequestedEventData
Creates an instance of a ExternalToolRequestedEventData record class.

F

FAILED - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult.SessionExtensionsListResultExtensionsItem.SessionExtensionsListResultExtensionsItemStatus
The failed variant.
FAILED - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionMcpListResult.SessionMcpListResultServersItem.SessionMcpListResultServersItemStatus
The failed variant.
FAILED - Enum constant in enum class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData.SessionExtensionsLoadedEventDataExtensionsItem.SessionExtensionsLoadedEventDataExtensionsItemStatus
The failed variant.
FAILED - Enum constant in enum class com.github.copilot.sdk.generated.SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData.SessionMcpServersLoadedEventDataServersItem.SessionMcpServersLoadedEventDataServersItemStatus
The failed variant.
FAILED - Enum constant in enum class com.github.copilot.sdk.generated.SessionMcpServerStatusChangedEvent.SessionMcpServerStatusChangedEventData.SessionMcpServerStatusChangedEventDataStatus
The failed variant.
failure(String, String) - Static method in record class com.github.copilot.sdk.json.ToolResultObject
Creates a failure result with the given text and error message.
feedback() - Method in record class com.github.copilot.sdk.generated.ExitPlanModeCompletedEvent.ExitPlanModeCompletedEventData
Returns the value of the feedback record component.
FILE - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionFsReaddirWithTypesResult.SessionFsReaddirWithTypesResultEntriesItem.SessionFsReaddirWithTypesResultEntriesItemType
The file variant.
files() - Method in record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceListFilesResult
Returns the value of the files record component.
filesModified() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataCodeChanges
Returns the value of the filesModified record component.
filesModifiedCount() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.SessionUsageGetMetricsResultCodeChanges
Returns the value of the filesModifiedCount record component.
finalMessage() - Method in record class com.github.copilot.sdk.json.SessionEndHookInput
Returns the value of the finalMessage record component.
fleet - Variable in class com.github.copilot.sdk.generated.rpc.SessionRpc
API methods for the fleet namespace.
force() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsRmParams
Returns the value of the force record component.
forceStop() - Method in class com.github.copilot.sdk.CopilotClient
Forces an immediate stop of the client without graceful cleanup.
FOREGROUND - Static variable in class com.github.copilot.sdk.json.SessionLifecycleEventTypes
Event fired when a session moves to foreground (TUI+server mode).
fork(SessionsForkParams) - Method in class com.github.copilot.sdk.generated.rpc.ServerSessionsApi
Invokes sessions.fork.
FORM - Enum constant in enum class com.github.copilot.sdk.generated.ElicitationRequestedEvent.ElicitationRequestedEventData.ElicitationRequestedEventDataMode
The form variant.
fromValue(String) - Static method in enum class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData.AssistantMessageEventDataToolRequestsItem.AssistantMessageEventDataToolRequestsItemType
 
fromValue(String) - Static method in enum class com.github.copilot.sdk.generated.ElicitationCompletedEvent.ElicitationCompletedEventData.ElicitationCompletedEventDataAction
 
fromValue(String) - Static method in enum class com.github.copilot.sdk.generated.ElicitationRequestedEvent.ElicitationRequestedEventData.ElicitationRequestedEventDataMode
 
fromValue(String) - Static method in enum class com.github.copilot.sdk.generated.PermissionCompletedEvent.PermissionCompletedEventData.PermissionCompletedEventDataResult.PermissionCompletedEventDataResultKind
 
fromValue(String) - Static method in enum class com.github.copilot.sdk.generated.rpc.McpDiscoverResult.McpDiscoverResultServersItem.McpDiscoverResultServersItemSource
 
fromValue(String) - Static method in enum class com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult.SessionExtensionsListResultExtensionsItem.SessionExtensionsListResultExtensionsItemSource
 
fromValue(String) - Static method in enum class com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult.SessionExtensionsListResultExtensionsItem.SessionExtensionsListResultExtensionsItemStatus
 
fromValue(String) - Static method in enum class com.github.copilot.sdk.generated.rpc.SessionFsReaddirWithTypesResult.SessionFsReaddirWithTypesResultEntriesItem.SessionFsReaddirWithTypesResultEntriesItemType
 
fromValue(String) - Static method in enum class com.github.copilot.sdk.generated.rpc.SessionFsSetProviderParams.SessionFsSetProviderParamsConventions
 
fromValue(String) - Static method in enum class com.github.copilot.sdk.generated.rpc.SessionLogParams.SessionLogParamsLevel
 
fromValue(String) - Static method in enum class com.github.copilot.sdk.generated.rpc.SessionMcpListResult.SessionMcpListResultServersItem.SessionMcpListResultServersItemStatus
 
fromValue(String) - Static method in enum class com.github.copilot.sdk.generated.rpc.SessionModeGetResult.SessionModeGetResultMode
 
fromValue(String) - Static method in enum class com.github.copilot.sdk.generated.rpc.SessionModeSetParams.SessionModeSetParamsMode
 
fromValue(String) - Static method in enum class com.github.copilot.sdk.generated.rpc.SessionModeSetResult.SessionModeSetResultMode
 
fromValue(String) - Static method in enum class com.github.copilot.sdk.generated.rpc.SessionShellKillParams.SessionShellKillParamsSignal
 
fromValue(String) - Static method in enum class com.github.copilot.sdk.generated.rpc.SessionUiElicitationResult.SessionUiElicitationResultAction
 
fromValue(String) - Static method in enum class com.github.copilot.sdk.generated.rpc.SessionUiHandlePendingElicitationParams.SessionUiHandlePendingElicitationParamsResult.SessionUiHandlePendingElicitationParamsResultAction
 
fromValue(String) - Static method in enum class com.github.copilot.sdk.generated.SessionContextChangedEvent.SessionContextChangedEventData.SessionContextChangedEventDataHostType
 
fromValue(String) - Static method in enum class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData.SessionExtensionsLoadedEventDataExtensionsItem.SessionExtensionsLoadedEventDataExtensionsItemSource
 
fromValue(String) - Static method in enum class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData.SessionExtensionsLoadedEventDataExtensionsItem.SessionExtensionsLoadedEventDataExtensionsItemStatus
 
fromValue(String) - Static method in enum class com.github.copilot.sdk.generated.SessionHandoffEvent.SessionHandoffEventData.SessionHandoffEventDataSourceType
 
fromValue(String) - Static method in enum class com.github.copilot.sdk.generated.SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData.SessionMcpServersLoadedEventDataServersItem.SessionMcpServersLoadedEventDataServersItemStatus
 
fromValue(String) - Static method in enum class com.github.copilot.sdk.generated.SessionMcpServerStatusChangedEvent.SessionMcpServerStatusChangedEventData.SessionMcpServerStatusChangedEventDataStatus
 
fromValue(String) - Static method in enum class com.github.copilot.sdk.generated.SessionPlanChangedEvent.SessionPlanChangedEventData.SessionPlanChangedEventDataOperation
 
fromValue(String) - Static method in enum class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData.SessionResumeEventDataContext.SessionResumeEventDataContextHostType
 
fromValue(String) - Static method in enum class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataShutdownType
 
fromValue(String) - Static method in enum class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData.SessionStartEventDataContext.SessionStartEventDataContextHostType
 
fromValue(String) - Static method in enum class com.github.copilot.sdk.generated.SessionWorkspaceFileChangedEvent.SessionWorkspaceFileChangedEventData.SessionWorkspaceFileChangedEventDataOperation
 
fromValue(String) - Static method in enum class com.github.copilot.sdk.generated.SystemMessageEvent.SystemMessageEventData.SystemMessageEventDataRole
 
fromValue(String) - Static method in enum class com.github.copilot.sdk.generated.UserMessageEvent.UserMessageEventData.UserMessageEventDataAgentMode
 
FUNCTION - Enum constant in enum class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData.AssistantMessageEventDataToolRequestsItem.AssistantMessageEventDataToolRequestsItemType
The function variant.

G

get() - Method in class com.github.copilot.sdk.generated.rpc.SessionModeApi
Invokes session.mode.get.
get() - Static method in enum class com.github.copilot.sdk.SdkProtocolVersion
Gets the SDK protocol version.
getAction() - Method in class com.github.copilot.sdk.json.ElicitationResult
Gets the user action taken on the elicitation dialog.
getAction() - Method in class com.github.copilot.sdk.json.SectionOverride
Gets the override action.
getAgent() - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Gets the pre-selected agent name.
getAgent() - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Gets the name of the custom agent to activate at session start.
getAgent() - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Gets the pre-selected agent name.
getAgent() - Method in class com.github.copilot.sdk.json.SessionConfig
Gets the name of the custom agent to activate at session start.
getAllowFreeform() - Method in class com.github.copilot.sdk.json.UserInputRequest
Returns whether freeform text input is allowed.
getAnswer() - Method in class com.github.copilot.sdk.json.UserInputResponse
Gets the user's answer.
getApiKey() - Method in class com.github.copilot.sdk.json.ProviderConfig
Gets the API key.
getApiVersion() - Method in class com.github.copilot.sdk.json.AzureOptions
Gets the Azure OpenAI API version.
getArgs() - Method in class com.github.copilot.sdk.json.CommandContext
Gets the raw argument string after the command name.
getArgs() - Method in class com.github.copilot.sdk.json.McpStdioServerConfig
Gets the arguments to pass to the command.
getArguments() - Method in class com.github.copilot.sdk.json.ToolInvocation
Gets the arguments passed to the tool as a Map.
getArgumentsAs(Class<T>) - Method in class com.github.copilot.sdk.json.ToolInvocation
Deserializes the tool arguments into the specified type.
getAttachments() - Method in class com.github.copilot.sdk.json.MessageOptions
Gets the attachments.
getAttachments() - Method in class com.github.copilot.sdk.json.SendMessageRequest
Gets the attachments.
getAuthStatus() - Method in class com.github.copilot.sdk.CopilotClient
Gets current authentication status.
GetAuthStatusResponse - Class in com.github.copilot.sdk.json
Response from the auth.getStatus RPC call.
GetAuthStatusResponse() - Constructor for class com.github.copilot.sdk.json.GetAuthStatusResponse
 
getAuthType() - Method in class com.github.copilot.sdk.json.GetAuthStatusResponse
 
getAvailableTools() - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Gets available tools.
getAvailableTools() - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Gets the list of allowed tool names.
getAvailableTools() - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Gets available tools.
getAvailableTools() - Method in class com.github.copilot.sdk.json.SessionConfig
Gets the list of allowed tool names.
getAzure() - Method in class com.github.copilot.sdk.json.ProviderConfig
Gets the Azure-specific options.
getBackgroundCompactionThreshold() - Method in class com.github.copilot.sdk.json.InfiniteSessionConfig
Gets the background compaction threshold.
getBaseUrl() - Method in class com.github.copilot.sdk.json.ProviderConfig
Gets the base URL for the API.
getBearerToken() - Method in class com.github.copilot.sdk.json.ProviderConfig
Gets the bearer token.
getBilling() - Method in class com.github.copilot.sdk.json.ModelInfo
 
getBranch() - Method in class com.github.copilot.sdk.json.SessionContext
Gets the current git branch.
getBufferExhaustionThreshold() - Method in class com.github.copilot.sdk.json.InfiniteSessionConfig
Gets the buffer exhaustion threshold.
getCapabilities() - Method in class com.github.copilot.sdk.CopilotSession
Gets the capabilities reported by the host for this session.
getCapabilities() - Method in class com.github.copilot.sdk.json.ModelInfo
 
getCaptureContent() - Method in class com.github.copilot.sdk.json.TelemetryConfig
Gets whether to capture message content as part of telemetry.
getChoices() - Method in class com.github.copilot.sdk.json.UserInputRequest
Gets the optional choices for multiple choice questions.
getCliArgs() - Method in class com.github.copilot.sdk.json.CopilotClientOptions
Gets the extra CLI arguments.
getClientName() - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Gets the client name.
getClientName() - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Gets the client name used to identify the application using the SDK.
getClientName() - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Gets the client name.
getClientName() - Method in class com.github.copilot.sdk.json.SessionConfig
Gets the client name used to identify the application using the SDK.
getCliPath() - Method in class com.github.copilot.sdk.json.CopilotClientOptions
Gets the path to the Copilot CLI executable.
getCliUrl() - Method in class com.github.copilot.sdk.json.CopilotClientOptions
Gets the URL of an existing CLI server to connect to.
getCode() - Method in class com.github.copilot.sdk.json.JsonRpcError
Gets the error code.
getCommand() - Method in class com.github.copilot.sdk.json.CommandContext
Gets the full command text (e.g., /deploy production).
getCommand() - Method in class com.github.copilot.sdk.json.McpStdioServerConfig
Gets the command to run the MCP server.
getCommandName() - Method in class com.github.copilot.sdk.json.CommandContext
Gets the command name without the leading /.
getCommands() - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Gets the commands wire definitions.
getCommands() - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Gets the slash commands registered for this session.
getCommands() - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Gets the commands wire definitions.
getCommands() - Method in class com.github.copilot.sdk.json.SessionConfig
Gets the slash commands registered for this session.
getConfigDir() - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Gets config directory.
getConfigDir() - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Gets the configuration directory path.
getConfigDir() - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Gets config directory.
getConfigDir() - Method in class com.github.copilot.sdk.json.SessionConfig
Gets the custom configuration directory.
getContent() - Method in class com.github.copilot.sdk.json.ElicitationResult
Gets the form values submitted by the user.
getContent() - Method in class com.github.copilot.sdk.json.SectionOverride
Gets the content for the override.
getContent() - Method in class com.github.copilot.sdk.json.SystemMessageConfig
Gets the system message content.
getContext() - Method in class com.github.copilot.sdk.json.SessionMetadata
Gets the working directory context from session creation.
getCurrent() - Method in class com.github.copilot.sdk.generated.rpc.SessionAgentApi
Invokes session.agent.getCurrent.
getCurrent() - Method in class com.github.copilot.sdk.generated.rpc.SessionModelApi
Invokes session.model.getCurrent.
getCurrentAgent() - Method in class com.github.copilot.sdk.CopilotSession
Gets the currently selected custom agent for this session, or null if no custom agent is selected.
getCustomAgents() - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Gets custom agents.
getCustomAgents() - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Gets the custom agent configurations.
getCustomAgents() - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Gets custom agents.
getCustomAgents() - Method in class com.github.copilot.sdk.json.SessionConfig
Gets the custom agent configurations.
getCwd() - Method in class com.github.copilot.sdk.json.CopilotClientOptions
Gets the working directory for the CLI process.
getCwd() - Method in class com.github.copilot.sdk.json.PostToolUseHookInput
Gets the current working directory.
getCwd() - Method in class com.github.copilot.sdk.json.PreToolUseHookInput
Gets the current working directory.
getCwd() - Method in class com.github.copilot.sdk.json.SessionContext
Gets the working directory where the session was created.
getData() - Method in class com.github.copilot.sdk.generated.AbortEvent
 
getData() - Method in class com.github.copilot.sdk.generated.AssistantIntentEvent
 
getData() - Method in class com.github.copilot.sdk.generated.AssistantMessageDeltaEvent
 
getData() - Method in class com.github.copilot.sdk.generated.AssistantMessageEvent
 
getData() - Method in class com.github.copilot.sdk.generated.AssistantReasoningDeltaEvent
 
getData() - Method in class com.github.copilot.sdk.generated.AssistantReasoningEvent
 
getData() - Method in class com.github.copilot.sdk.generated.AssistantStreamingDeltaEvent
 
getData() - Method in class com.github.copilot.sdk.generated.AssistantTurnEndEvent
 
getData() - Method in class com.github.copilot.sdk.generated.AssistantTurnStartEvent
 
getData() - Method in class com.github.copilot.sdk.generated.AssistantUsageEvent
 
getData() - Method in class com.github.copilot.sdk.generated.CapabilitiesChangedEvent
 
getData() - Method in class com.github.copilot.sdk.generated.CommandCompletedEvent
 
getData() - Method in class com.github.copilot.sdk.generated.CommandExecuteEvent
 
getData() - Method in class com.github.copilot.sdk.generated.CommandQueuedEvent
 
getData() - Method in class com.github.copilot.sdk.generated.CommandsChangedEvent
 
getData() - Method in class com.github.copilot.sdk.generated.ElicitationCompletedEvent
 
getData() - Method in class com.github.copilot.sdk.generated.ElicitationRequestedEvent
 
getData() - Method in class com.github.copilot.sdk.generated.ExitPlanModeCompletedEvent
 
getData() - Method in class com.github.copilot.sdk.generated.ExitPlanModeRequestedEvent
 
getData() - Method in class com.github.copilot.sdk.generated.ExternalToolCompletedEvent
 
getData() - Method in class com.github.copilot.sdk.generated.ExternalToolRequestedEvent
 
getData() - Method in class com.github.copilot.sdk.generated.HookEndEvent
 
getData() - Method in class com.github.copilot.sdk.generated.HookStartEvent
 
getData() - Method in class com.github.copilot.sdk.generated.McpOauthCompletedEvent
 
getData() - Method in class com.github.copilot.sdk.generated.McpOauthRequiredEvent
 
getData() - Method in class com.github.copilot.sdk.generated.PendingMessagesModifiedEvent
 
getData() - Method in class com.github.copilot.sdk.generated.PermissionCompletedEvent
 
getData() - Method in class com.github.copilot.sdk.generated.PermissionRequestedEvent
 
getData() - Method in class com.github.copilot.sdk.generated.SamplingCompletedEvent
 
getData() - Method in class com.github.copilot.sdk.generated.SamplingRequestedEvent
 
getData() - Method in class com.github.copilot.sdk.generated.SessionBackgroundTasksChangedEvent
 
getData() - Method in class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent
 
getData() - Method in class com.github.copilot.sdk.generated.SessionCompactionStartEvent
 
getData() - Method in class com.github.copilot.sdk.generated.SessionContextChangedEvent
 
getData() - Method in class com.github.copilot.sdk.generated.SessionCustomAgentsUpdatedEvent
 
getData() - Method in class com.github.copilot.sdk.generated.SessionErrorEvent
 
getData() - Method in class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent
 
getData() - Method in class com.github.copilot.sdk.generated.SessionHandoffEvent
 
getData() - Method in class com.github.copilot.sdk.generated.SessionIdleEvent
 
getData() - Method in class com.github.copilot.sdk.generated.SessionInfoEvent
 
getData() - Method in class com.github.copilot.sdk.generated.SessionMcpServersLoadedEvent
 
getData() - Method in class com.github.copilot.sdk.generated.SessionMcpServerStatusChangedEvent
 
getData() - Method in class com.github.copilot.sdk.generated.SessionModeChangedEvent
 
getData() - Method in class com.github.copilot.sdk.generated.SessionModelChangeEvent
 
getData() - Method in class com.github.copilot.sdk.generated.SessionPlanChangedEvent
 
getData() - Method in class com.github.copilot.sdk.generated.SessionRemoteSteerableChangedEvent
 
getData() - Method in class com.github.copilot.sdk.generated.SessionResumeEvent
 
getData() - Method in class com.github.copilot.sdk.generated.SessionShutdownEvent
 
getData() - Method in class com.github.copilot.sdk.generated.SessionSkillsLoadedEvent
 
getData() - Method in class com.github.copilot.sdk.generated.SessionSnapshotRewindEvent
 
getData() - Method in class com.github.copilot.sdk.generated.SessionStartEvent
 
getData() - Method in class com.github.copilot.sdk.generated.SessionTaskCompleteEvent
 
getData() - Method in class com.github.copilot.sdk.generated.SessionTitleChangedEvent
 
getData() - Method in class com.github.copilot.sdk.generated.SessionToolsUpdatedEvent
 
getData() - Method in class com.github.copilot.sdk.generated.SessionTruncationEvent
 
getData() - Method in class com.github.copilot.sdk.generated.SessionUsageInfoEvent
 
getData() - Method in class com.github.copilot.sdk.generated.SessionWarningEvent
 
getData() - Method in class com.github.copilot.sdk.generated.SessionWorkspaceFileChangedEvent
 
getData() - Method in class com.github.copilot.sdk.generated.SkillInvokedEvent
 
getData() - Method in class com.github.copilot.sdk.generated.SubagentCompletedEvent
 
getData() - Method in class com.github.copilot.sdk.generated.SubagentDeselectedEvent
 
getData() - Method in class com.github.copilot.sdk.generated.SubagentFailedEvent
 
getData() - Method in class com.github.copilot.sdk.generated.SubagentSelectedEvent
 
getData() - Method in class com.github.copilot.sdk.generated.SubagentStartedEvent
 
getData() - Method in class com.github.copilot.sdk.generated.SystemMessageEvent
 
getData() - Method in class com.github.copilot.sdk.generated.SystemNotificationEvent
 
getData() - Method in class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent
 
getData() - Method in class com.github.copilot.sdk.generated.ToolExecutionPartialResultEvent
 
getData() - Method in class com.github.copilot.sdk.generated.ToolExecutionProgressEvent
 
getData() - Method in class com.github.copilot.sdk.generated.ToolExecutionStartEvent
 
getData() - Method in class com.github.copilot.sdk.generated.ToolUserRequestedEvent
 
getData() - Method in class com.github.copilot.sdk.generated.UserInputCompletedEvent
 
getData() - Method in class com.github.copilot.sdk.generated.UserInputRequestedEvent
 
getData() - Method in class com.github.copilot.sdk.generated.UserMessageEvent
 
getData() - Method in class com.github.copilot.sdk.json.BlobAttachment
Gets the base64-encoded binary content.
getData() - Method in class com.github.copilot.sdk.json.JsonRpcError
Gets the additional error data.
getDefaultReasoningEffort() - Method in class com.github.copilot.sdk.json.ModelInfo
Gets the default reasoning effort level.
getDefaultValue() - Method in class com.github.copilot.sdk.json.InputOptions
Gets the default value pre-populated in the field.
getDescription() - Method in class com.github.copilot.sdk.json.AgentInfo
Gets the description of the agent's purpose.
getDescription() - Method in class com.github.copilot.sdk.json.CommandDefinition
Gets the human-readable description shown in the command completion UI.
getDescription() - Method in class com.github.copilot.sdk.json.CommandWireDefinition
Gets the description.
getDescription() - Method in class com.github.copilot.sdk.json.CustomAgentConfig
Gets the agent description.
getDescription() - Method in class com.github.copilot.sdk.json.InputOptions
Gets the descriptive text shown below the field.
getDisabledSkills() - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Gets disabled skills.
getDisabledSkills() - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Gets the disabled skills.
getDisabledSkills() - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Gets disabled skills.
getDisabledSkills() - Method in class com.github.copilot.sdk.json.SessionConfig
Gets the disabled skill names.
getDisableResume() - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Gets disable resume flag.
getDisplayName() - Method in class com.github.copilot.sdk.json.AgentInfo
Gets the human-readable display name of the agent.
getDisplayName() - Method in class com.github.copilot.sdk.json.BlobAttachment
Gets the human-readable display name for the attachment.
getDisplayName() - Method in class com.github.copilot.sdk.json.CustomAgentConfig
Gets the human-readable display name.
getElicitation() - Method in class com.github.copilot.sdk.json.SessionUiCapabilities
Returns whether the host supports interactive elicitation dialogs.
getElicitationSource() - Method in class com.github.copilot.sdk.json.ElicitationContext
Gets the source that initiated the request (e.g., MCP server name).
getEnableConfigDiscovery() - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Gets enable config discovery flag.
getEnableConfigDiscovery() - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Gets whether automatic configuration discovery is enabled.
getEnableConfigDiscovery() - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Gets enable config discovery flag.
getEnableConfigDiscovery() - Method in class com.github.copilot.sdk.json.SessionConfig
Gets whether automatic configuration discovery is enabled.
getEnabled() - Method in class com.github.copilot.sdk.json.InfiniteSessionConfig
Gets whether infinite sessions are enabled.
getEnv() - Method in class com.github.copilot.sdk.json.McpStdioServerConfig
Gets the environment variables to pass to the server.
getEnvironment() - Method in class com.github.copilot.sdk.json.CopilotClientOptions
Gets the environment variables for the CLI process.
getEnvValueMode() - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Gets MCP environment variable value mode.
getEnvValueMode() - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Gets MCP environment variable value mode.
getEphemeral() - Method in class com.github.copilot.sdk.generated.SessionEvent
 
getError() - Method in class com.github.copilot.sdk.json.JsonRpcResponse
Gets the error if the RPC call failed.
getExcludedTools() - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Gets excluded tools.
getExcludedTools() - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Gets the list of excluded tool names.
getExcludedTools() - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Gets excluded tools.
getExcludedTools() - Method in class com.github.copilot.sdk.json.SessionConfig
Gets the list of excluded tool names.
getExecutor() - Method in class com.github.copilot.sdk.json.CopilotClientOptions
Gets the executor used for internal asynchronous operations.
getExporterType() - Method in class com.github.copilot.sdk.json.TelemetryConfig
Gets the exporter type.
getExtensionData() - Method in class com.github.copilot.sdk.json.PermissionRequest
Gets additional extension data for the request.
getFilePath() - Method in class com.github.copilot.sdk.json.TelemetryConfig
Gets the file path for the file exporter.
getForegroundSessionId() - Method in class com.github.copilot.sdk.CopilotClient
Gets the ID of the session currently displayed in the TUI.
GetForegroundSessionResponse - Record Class in com.github.copilot.sdk.json
Response from session.getForeground RPC call.
GetForegroundSessionResponse(String, String) - Constructor for record class com.github.copilot.sdk.json.GetForegroundSessionResponse
Creates an instance of a GetForegroundSessionResponse record class.
getFormat() - Method in class com.github.copilot.sdk.json.InputOptions
Gets the semantic format hint (e.g., "email", "uri", "date", "date-time").
getGithubToken() - Method in class com.github.copilot.sdk.json.CopilotClientOptions
Deprecated.
getGitHubToken() - Method in class com.github.copilot.sdk.json.CopilotClientOptions
Gets the GitHub token for authentication.
getGitRoot() - Method in class com.github.copilot.sdk.json.SessionContext
Gets the git repository root directory.
getHandler() - Method in class com.github.copilot.sdk.json.CommandDefinition
Gets the handler invoked when the command is executed.
getHeaders() - Method in class com.github.copilot.sdk.json.McpHttpServerConfig
Gets the optional HTTP headers to include in requests.
getHeaders() - Method in class com.github.copilot.sdk.json.ProviderConfig
Gets the custom HTTP headers for outbound provider requests.
getHooks() - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Gets hooks flag.
getHooks() - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Gets the hook handlers configuration.
getHooks() - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Gets hooks flag.
getHooks() - Method in class com.github.copilot.sdk.json.SessionConfig
Gets the hook handlers configuration.
getHost() - Method in class com.github.copilot.sdk.json.GetAuthStatusResponse
 
getId() - Method in class com.github.copilot.sdk.generated.SessionEvent
 
getId() - Method in class com.github.copilot.sdk.json.JsonRpcRequest
Gets the request ID.
getId() - Method in class com.github.copilot.sdk.json.JsonRpcResponse
Gets the response ID.
getId() - Method in class com.github.copilot.sdk.json.ModelInfo
 
getIncludeSubAgentStreamingEvents() - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Gets include sub-agent streaming events flag.
getIncludeSubAgentStreamingEvents() - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Gets whether sub-agent streaming events are included.
getIncludeSubAgentStreamingEvents() - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Gets include sub-agent streaming events flag.
getIncludeSubAgentStreamingEvents() - Method in class com.github.copilot.sdk.json.SessionConfig
Gets whether sub-agent streaming events are included.
getInfer() - Method in class com.github.copilot.sdk.json.CustomAgentConfig
Gets whether inference mode is enabled.
getInfiniteSessions() - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Gets infinite sessions config.
getInfiniteSessions() - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Gets the infinite session configuration.
getInfiniteSessions() - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Gets infinite sessions config.
getInfiniteSessions() - Method in class com.github.copilot.sdk.json.SessionConfig
Gets the infinite sessions configuration.
getJsonrpc() - Method in class com.github.copilot.sdk.json.JsonRpcRequest
Gets the JSON-RPC version.
getJsonrpc() - Method in class com.github.copilot.sdk.json.JsonRpcResponse
Gets the JSON-RPC version.
getKind() - Method in class com.github.copilot.sdk.json.PermissionRequest
Gets the kind of permission being requested.
getKind() - Method in class com.github.copilot.sdk.json.PermissionRequestResult
Gets the result kind as a string.
getLastSessionId() - Method in class com.github.copilot.sdk.CopilotClient
Gets the ID of the most recently used session.
GetLastSessionIdResponse - Record Class in com.github.copilot.sdk.json
Internal response object from getting the last session ID.
GetLastSessionIdResponse(String) - Constructor for record class com.github.copilot.sdk.json.GetLastSessionIdResponse
Creates an instance of a GetLastSessionIdResponse record class.
getLimits() - Method in class com.github.copilot.sdk.json.ModelCapabilities
 
getLimits() - Method in class com.github.copilot.sdk.json.ModelCapabilitiesOverride
Gets the token limit overrides.
getLogin() - Method in class com.github.copilot.sdk.json.GetAuthStatusResponse
 
getLogLevel() - Method in class com.github.copilot.sdk.json.CopilotClientOptions
Gets the log level for the CLI process.
getMaxContextWindowTokens() - Method in class com.github.copilot.sdk.json.ModelCapabilitiesOverride.Limits
Gets the maximum context window tokens override.
getMaxContextWindowTokens() - Method in class com.github.copilot.sdk.json.ModelLimits
 
getMaxLength() - Method in class com.github.copilot.sdk.json.InputOptions
Gets the maximum character length.
getMaxOutputTokens() - Method in class com.github.copilot.sdk.json.ModelCapabilitiesOverride.Limits
Gets the maximum output tokens override.
getMaxPromptImages() - Method in class com.github.copilot.sdk.json.ModelVisionLimits
 
getMaxPromptImageSize() - Method in class com.github.copilot.sdk.json.ModelVisionLimits
 
getMaxPromptTokens() - Method in class com.github.copilot.sdk.json.ModelCapabilitiesOverride.Limits
Gets the maximum prompt tokens override.
getMaxPromptTokens() - Method in class com.github.copilot.sdk.json.ModelLimits
 
getMcpServers() - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Gets MCP servers.
getMcpServers() - Method in class com.github.copilot.sdk.json.CustomAgentConfig
Gets the MCP server configurations for this agent.
getMcpServers() - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Gets the MCP server configurations.
getMcpServers() - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Gets MCP servers.
getMcpServers() - Method in class com.github.copilot.sdk.json.SessionConfig
Gets the MCP server configurations.
getMessage() - Method in class com.github.copilot.sdk.json.ElicitationContext
Gets the message describing what information is needed from the user.
getMessage() - Method in class com.github.copilot.sdk.json.ElicitationParams
Gets the message describing what information is needed from the user.
getMessage() - Method in class com.github.copilot.sdk.json.JsonRpcError
Gets the error message.
getMessages() - Method in class com.github.copilot.sdk.CopilotSession
Gets the complete list of messages and events in the session.
GetMessagesResponse - Record Class in com.github.copilot.sdk.json
Internal response object from getting session messages.
GetMessagesResponse(List<JsonNode>) - Constructor for record class com.github.copilot.sdk.json.GetMessagesResponse
Creates an instance of a GetMessagesResponse record class.
getMetadata() - Method in class com.github.copilot.sdk.json.SessionLifecycleEvent
 
getMethod() - Method in class com.github.copilot.sdk.json.JsonRpcRequest
Gets the method name.
getMetrics() - Method in class com.github.copilot.sdk.generated.rpc.SessionUsageApi
Invokes session.usage.getMetrics.
getMimeType() - Method in class com.github.copilot.sdk.json.BlobAttachment
Gets the MIME type of the binary content.
getMinLength() - Method in class com.github.copilot.sdk.json.InputOptions
Gets the minimum character length.
getMode() - Method in class com.github.copilot.sdk.json.ElicitationContext
Gets the elicitation mode: "form" for structured input, "url" for browser redirect.
getMode() - Method in class com.github.copilot.sdk.json.MessageOptions
Gets the delivery mode.
getMode() - Method in class com.github.copilot.sdk.json.SendMessageRequest
Gets the mode.
getMode() - Method in class com.github.copilot.sdk.json.SystemMessageConfig
Gets the system message mode.
getModel() - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Gets the model name.
getModel() - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Gets the AI model to use.
getModel() - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Gets the model name.
getModel() - Method in class com.github.copilot.sdk.json.SessionConfig
Gets the AI model to use.
getModelCapabilities() - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Gets the model capabilities override.
getModelCapabilities() - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Gets the model capabilities override.
getModelCapabilities() - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Gets the model capabilities override.
getModelCapabilities() - Method in class com.github.copilot.sdk.json.SessionConfig
Gets the model capabilities override.
getModels() - Method in class com.github.copilot.sdk.json.GetModelsResponse
 
GetModelsResponse - Class in com.github.copilot.sdk.json
Response from the models.list RPC call.
GetModelsResponse() - Constructor for class com.github.copilot.sdk.json.GetModelsResponse
 
getModifiedTime() - Method in class com.github.copilot.sdk.json.SessionMetadata
Gets the timestamp when the session was last modified.
getMultiplier() - Method in class com.github.copilot.sdk.json.ModelBilling
 
getName() - Method in class com.github.copilot.sdk.json.AgentInfo
Gets the unique identifier of the agent.
getName() - Method in class com.github.copilot.sdk.json.CommandDefinition
Gets the command name (without leading /).
getName() - Method in class com.github.copilot.sdk.json.CommandWireDefinition
Gets the command name.
getName() - Method in class com.github.copilot.sdk.json.CustomAgentConfig
Gets the unique identifier name for this agent.
getName() - Method in class com.github.copilot.sdk.json.ModelInfo
 
getOnElicitationRequest() - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Gets the elicitation request handler.
getOnElicitationRequest() - Method in class com.github.copilot.sdk.json.SessionConfig
Gets the elicitation request handler.
getOnEvent() - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Gets the event handler registered before the session.resume RPC is issued.
getOnEvent() - Method in class com.github.copilot.sdk.json.SessionConfig
Gets the event handler registered before the session.create RPC is issued.
getOnListModels() - Method in class com.github.copilot.sdk.json.CopilotClientOptions
Gets the custom handler for listing available models.
getOnPermissionRequest() - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Gets the permission request handler.
getOnPermissionRequest() - Method in class com.github.copilot.sdk.json.SessionConfig
Gets the permission request handler.
getOnPostToolUse() - Method in class com.github.copilot.sdk.json.SessionHooks
Gets the post-tool-use handler.
getOnPreToolUse() - Method in class com.github.copilot.sdk.json.SessionHooks
Gets the pre-tool-use handler.
getOnSessionEnd() - Method in class com.github.copilot.sdk.json.SessionHooks
Gets the session-end handler.
getOnSessionStart() - Method in class com.github.copilot.sdk.json.SessionHooks
Gets the session-start handler.
getOnUserInputRequest() - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Gets the user input request handler.
getOnUserInputRequest() - Method in class com.github.copilot.sdk.json.SessionConfig
Gets the user input request handler.
getOnUserPromptSubmitted() - Method in class com.github.copilot.sdk.json.SessionHooks
Gets the user-prompt-submitted handler.
getOtlpEndpoint() - Method in class com.github.copilot.sdk.json.TelemetryConfig
Gets the OTLP exporter endpoint URL.
getParams() - Method in class com.github.copilot.sdk.json.JsonRpcRequest
Gets the method parameters.
getParentId() - Method in class com.github.copilot.sdk.generated.SessionEvent
 
getPolicy() - Method in class com.github.copilot.sdk.json.ModelInfo
 
getPort() - Method in class com.github.copilot.sdk.json.CopilotClientOptions
Gets the TCP port for the CLI server.
getPrompt() - Method in class com.github.copilot.sdk.json.CustomAgentConfig
Gets the system prompt for this agent.
getPrompt() - Method in class com.github.copilot.sdk.json.MessageOptions
Gets the message prompt.
getPrompt() - Method in class com.github.copilot.sdk.json.SendMessageRequest
Gets the message prompt.
getProperties() - Method in class com.github.copilot.sdk.json.ElicitationSchema
Gets the form field definitions, keyed by field name.
getProtocolVersion() - Method in class com.github.copilot.sdk.json.GetStatusResponse
 
getProvider() - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Gets the provider config.
getProvider() - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Gets the custom API provider configuration.
getProvider() - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Gets the provider config.
getProvider() - Method in class com.github.copilot.sdk.json.SessionConfig
Gets the custom API provider configuration.
getQuestion() - Method in class com.github.copilot.sdk.json.UserInputRequest
Gets the question to ask the user.
getQuota() - Method in class com.github.copilot.sdk.generated.rpc.ServerAccountApi
Invokes account.getQuota.
getReasoningEffort() - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Gets the reasoning effort.
getReasoningEffort() - Method in class com.github.copilot.sdk.json.ModelCapabilitiesOverride.Supports
Gets the reasoning effort override.
getReasoningEffort() - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Gets the reasoning effort level.
getReasoningEffort() - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Gets the reasoning effort.
getReasoningEffort() - Method in class com.github.copilot.sdk.json.SessionConfig
Gets the reasoning effort level.
getRepository() - Method in class com.github.copilot.sdk.json.SessionContext
Gets the GitHub repository in "owner/repo" format.
getRequestedSchema() - Method in class com.github.copilot.sdk.json.ElicitationContext
Gets the JSON Schema describing the form fields to present (form mode only).
getRequestedSchema() - Method in class com.github.copilot.sdk.json.ElicitationParams
Gets the JSON Schema describing the form fields to present.
getRequestElicitation() - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Gets the requestElicitation flag.
getRequestElicitation() - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Gets the requestElicitation flag.
getRequestHeaders() - Method in class com.github.copilot.sdk.json.MessageOptions
Gets the custom per-turn HTTP headers for outbound model requests.
getRequestHeaders() - Method in class com.github.copilot.sdk.json.SendMessageRequest
Gets the per-turn request headers.
getRequestPermission() - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Gets request permission flag.
getRequestPermission() - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Gets request permission flag.
getRequestUserInput() - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Gets request user input flag.
getRequestUserInput() - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Gets request user input flag.
getRequired() - Method in class com.github.copilot.sdk.json.ElicitationSchema
Gets the list of required field names.
getResult() - Method in class com.github.copilot.sdk.json.JsonRpcResponse
Gets the result of the RPC call.
getRpc() - Method in class com.github.copilot.sdk.CopilotClient
Returns the typed RPC client for server-level methods.
getRpc() - Method in class com.github.copilot.sdk.CopilotSession
Returns the typed RPC client for this session.
getRules() - Method in class com.github.copilot.sdk.json.PermissionRequestResult
Gets the approval rules.
getSections() - Method in class com.github.copilot.sdk.json.SystemMessageConfig
Gets the section-level overrides for SystemMessageMode.CUSTOMIZE mode.
getSessionId() - Method in class com.github.copilot.sdk.CopilotSession
Gets the unique identifier for this session.
getSessionId() - Method in class com.github.copilot.sdk.json.CommandContext
Gets the session ID where the command was invoked.
getSessionId() - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Gets the session ID.
getSessionId() - Method in class com.github.copilot.sdk.json.ElicitationContext
Gets the session ID that triggered the elicitation request.
getSessionId() - Method in class com.github.copilot.sdk.json.HookInvocation
Gets the session ID.
getSessionId() - Method in class com.github.copilot.sdk.json.PermissionInvocation
Gets the session ID where the permission was requested.
getSessionId() - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Gets the session ID.
getSessionId() - Method in class com.github.copilot.sdk.json.SendMessageRequest
Gets the session ID.
getSessionId() - Method in class com.github.copilot.sdk.json.SessionConfig
Gets the custom session ID.
getSessionId() - Method in class com.github.copilot.sdk.json.SessionLifecycleEvent
 
getSessionId() - Method in class com.github.copilot.sdk.json.SessionMetadata
Gets the unique identifier for this session.
getSessionId() - Method in class com.github.copilot.sdk.json.ToolInvocation
Gets the session ID where the tool was invoked.
getSessionId() - Method in class com.github.copilot.sdk.json.UserInputInvocation
Gets the session ID.
getSessionMetadata(String) - Method in class com.github.copilot.sdk.CopilotClient
Gets metadata for a specific session by ID.
GetSessionMetadataResponse - Record Class in com.github.copilot.sdk.json
Internal response object from getting session metadata by ID.
GetSessionMetadataResponse(SessionMetadata) - Constructor for record class com.github.copilot.sdk.json.GetSessionMetadataResponse
Creates an instance of a GetSessionMetadataResponse record class.
getSkillDirectories() - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Gets skill directories.
getSkillDirectories() - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Gets the skill directories.
getSkillDirectories() - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Gets skill directories.
getSkillDirectories() - Method in class com.github.copilot.sdk.json.SessionConfig
Gets the skill directories.
getSkills() - Method in class com.github.copilot.sdk.json.CustomAgentConfig
Gets the list of skill names to preload into this agent's context.
getSourceName() - Method in class com.github.copilot.sdk.json.TelemetryConfig
Gets the source name for telemetry spans.
getStartTime() - Method in class com.github.copilot.sdk.json.SessionMetadata
Gets the timestamp when the session was created.
getState() - Method in class com.github.copilot.sdk.CopilotClient
Gets the current connection state.
getState() - Method in class com.github.copilot.sdk.json.ModelPolicy
 
getStatus() - Method in class com.github.copilot.sdk.CopilotClient
Gets CLI status including version and protocol information.
getStatusMessage() - Method in class com.github.copilot.sdk.json.GetAuthStatusResponse
 
GetStatusResponse - Class in com.github.copilot.sdk.json
Response from the status.get RPC call.
GetStatusResponse() - Constructor for class com.github.copilot.sdk.json.GetStatusResponse
 
getStreaming() - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Gets streaming flag.
getStreaming() - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Gets streaming flag.
getSummary() - Method in class com.github.copilot.sdk.json.SessionMetadata
Gets a brief summary of the session's conversation.
getSupportedMediaTypes() - Method in class com.github.copilot.sdk.json.ModelVisionLimits
 
getSupportedReasoningEfforts() - Method in class com.github.copilot.sdk.json.ModelInfo
Gets the supported reasoning effort levels.
getSupports() - Method in class com.github.copilot.sdk.json.ModelCapabilities
 
getSupports() - Method in class com.github.copilot.sdk.json.ModelCapabilitiesOverride
Gets the feature flag overrides.
getSystemMessage() - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Gets the system message config.
getSystemMessage() - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Gets the system message configuration.
getSystemMessage() - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Gets the system message config.
getSystemMessage() - Method in class com.github.copilot.sdk.json.SessionConfig
Gets the system message configuration.
getTelemetry() - Method in class com.github.copilot.sdk.json.CopilotClientOptions
Gets the OpenTelemetry configuration for the CLI server.
getTerms() - Method in class com.github.copilot.sdk.json.ModelPolicy
 
getTimeout() - Method in class com.github.copilot.sdk.json.McpServerConfig
Gets the optional timeout in milliseconds for tool calls to this server.
getTimestamp() - Method in class com.github.copilot.sdk.generated.SessionEvent
 
getTimestamp() - Method in class com.github.copilot.sdk.json.PostToolUseHookInput
Gets the timestamp of the hook invocation.
getTimestamp() - Method in class com.github.copilot.sdk.json.PreToolUseHookInput
Gets the timestamp of the hook invocation.
getTitle() - Method in class com.github.copilot.sdk.json.InputOptions
Gets the title label for the input field.
getToolArgs() - Method in class com.github.copilot.sdk.json.PostToolUseHookInput
Gets the arguments passed to the tool.
getToolArgs() - Method in class com.github.copilot.sdk.json.PreToolUseHookInput
Gets the arguments passed to the tool.
getToolCallId() - Method in class com.github.copilot.sdk.json.PermissionRequest
Gets the associated tool call ID, if applicable.
getToolCallId() - Method in class com.github.copilot.sdk.json.ToolInvocation
Gets the unique identifier for this tool call.
getToolName() - Method in class com.github.copilot.sdk.json.PostToolUseHookInput
Gets the name of the tool that was invoked.
getToolName() - Method in class com.github.copilot.sdk.json.PreToolUseHookInput
Gets the name of the tool being invoked.
getToolName() - Method in class com.github.copilot.sdk.json.ToolInvocation
Gets the name of the tool being invoked.
getToolResult() - Method in class com.github.copilot.sdk.json.PostToolUseHookInput
Gets the result returned by the tool.
getTools() - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Gets the tools.
getTools() - Method in class com.github.copilot.sdk.json.CustomAgentConfig
Gets the list of tool names available to this agent.
getTools() - Method in class com.github.copilot.sdk.json.McpServerConfig
Gets the list of tools to include from this server.
getTools() - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Gets the custom tools for this session.
getTools() - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Gets the tools.
getTools() - Method in class com.github.copilot.sdk.json.SessionConfig
Gets the custom tools for this session.
getTransform() - Method in class com.github.copilot.sdk.json.SectionOverride
Gets the transform callback.
getType() - Method in class com.github.copilot.sdk.generated.AbortEvent
 
getType() - Method in class com.github.copilot.sdk.generated.AssistantIntentEvent
 
getType() - Method in class com.github.copilot.sdk.generated.AssistantMessageDeltaEvent
 
getType() - Method in class com.github.copilot.sdk.generated.AssistantMessageEvent
 
getType() - Method in class com.github.copilot.sdk.generated.AssistantReasoningDeltaEvent
 
getType() - Method in class com.github.copilot.sdk.generated.AssistantReasoningEvent
 
getType() - Method in class com.github.copilot.sdk.generated.AssistantStreamingDeltaEvent
 
getType() - Method in class com.github.copilot.sdk.generated.AssistantTurnEndEvent
 
getType() - Method in class com.github.copilot.sdk.generated.AssistantTurnStartEvent
 
getType() - Method in class com.github.copilot.sdk.generated.AssistantUsageEvent
 
getType() - Method in class com.github.copilot.sdk.generated.CapabilitiesChangedEvent
 
getType() - Method in class com.github.copilot.sdk.generated.CommandCompletedEvent
 
getType() - Method in class com.github.copilot.sdk.generated.CommandExecuteEvent
 
getType() - Method in class com.github.copilot.sdk.generated.CommandQueuedEvent
 
getType() - Method in class com.github.copilot.sdk.generated.CommandsChangedEvent
 
getType() - Method in class com.github.copilot.sdk.generated.ElicitationCompletedEvent
 
getType() - Method in class com.github.copilot.sdk.generated.ElicitationRequestedEvent
 
getType() - Method in class com.github.copilot.sdk.generated.ExitPlanModeCompletedEvent
 
getType() - Method in class com.github.copilot.sdk.generated.ExitPlanModeRequestedEvent
 
getType() - Method in class com.github.copilot.sdk.generated.ExternalToolCompletedEvent
 
getType() - Method in class com.github.copilot.sdk.generated.ExternalToolRequestedEvent
 
getType() - Method in class com.github.copilot.sdk.generated.HookEndEvent
 
getType() - Method in class com.github.copilot.sdk.generated.HookStartEvent
 
getType() - Method in class com.github.copilot.sdk.generated.McpOauthCompletedEvent
 
getType() - Method in class com.github.copilot.sdk.generated.McpOauthRequiredEvent
 
getType() - Method in class com.github.copilot.sdk.generated.PendingMessagesModifiedEvent
 
getType() - Method in class com.github.copilot.sdk.generated.PermissionCompletedEvent
 
getType() - Method in class com.github.copilot.sdk.generated.PermissionRequestedEvent
 
getType() - Method in class com.github.copilot.sdk.generated.SamplingCompletedEvent
 
getType() - Method in class com.github.copilot.sdk.generated.SamplingRequestedEvent
 
getType() - Method in class com.github.copilot.sdk.generated.SessionBackgroundTasksChangedEvent
 
getType() - Method in class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent
 
getType() - Method in class com.github.copilot.sdk.generated.SessionCompactionStartEvent
 
getType() - Method in class com.github.copilot.sdk.generated.SessionContextChangedEvent
 
getType() - Method in class com.github.copilot.sdk.generated.SessionCustomAgentsUpdatedEvent
 
getType() - Method in class com.github.copilot.sdk.generated.SessionErrorEvent
 
getType() - Method in class com.github.copilot.sdk.generated.SessionEvent
Returns the event-type discriminator string (e.g., "session.idle").
getType() - Method in class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent
 
getType() - Method in class com.github.copilot.sdk.generated.SessionHandoffEvent
 
getType() - Method in class com.github.copilot.sdk.generated.SessionIdleEvent
 
getType() - Method in class com.github.copilot.sdk.generated.SessionInfoEvent
 
getType() - Method in class com.github.copilot.sdk.generated.SessionMcpServersLoadedEvent
 
getType() - Method in class com.github.copilot.sdk.generated.SessionMcpServerStatusChangedEvent
 
getType() - Method in class com.github.copilot.sdk.generated.SessionModeChangedEvent
 
getType() - Method in class com.github.copilot.sdk.generated.SessionModelChangeEvent
 
getType() - Method in class com.github.copilot.sdk.generated.SessionPlanChangedEvent
 
getType() - Method in class com.github.copilot.sdk.generated.SessionRemoteSteerableChangedEvent
 
getType() - Method in class com.github.copilot.sdk.generated.SessionResumeEvent
 
getType() - Method in class com.github.copilot.sdk.generated.SessionShutdownEvent
 
getType() - Method in class com.github.copilot.sdk.generated.SessionSkillsLoadedEvent
 
getType() - Method in class com.github.copilot.sdk.generated.SessionSnapshotRewindEvent
 
getType() - Method in class com.github.copilot.sdk.generated.SessionStartEvent
 
getType() - Method in class com.github.copilot.sdk.generated.SessionTaskCompleteEvent
 
getType() - Method in class com.github.copilot.sdk.generated.SessionTitleChangedEvent
 
getType() - Method in class com.github.copilot.sdk.generated.SessionToolsUpdatedEvent
 
getType() - Method in class com.github.copilot.sdk.generated.SessionTruncationEvent
 
getType() - Method in class com.github.copilot.sdk.generated.SessionUsageInfoEvent
 
getType() - Method in class com.github.copilot.sdk.generated.SessionWarningEvent
 
getType() - Method in class com.github.copilot.sdk.generated.SessionWorkspaceFileChangedEvent
 
getType() - Method in class com.github.copilot.sdk.generated.SkillInvokedEvent
 
getType() - Method in class com.github.copilot.sdk.generated.SubagentCompletedEvent
 
getType() - Method in class com.github.copilot.sdk.generated.SubagentDeselectedEvent
 
getType() - Method in class com.github.copilot.sdk.generated.SubagentFailedEvent
 
getType() - Method in class com.github.copilot.sdk.generated.SubagentSelectedEvent
 
getType() - Method in class com.github.copilot.sdk.generated.SubagentStartedEvent
 
getType() - Method in class com.github.copilot.sdk.generated.SystemMessageEvent
 
getType() - Method in class com.github.copilot.sdk.generated.SystemNotificationEvent
 
getType() - Method in class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent
 
getType() - Method in class com.github.copilot.sdk.generated.ToolExecutionPartialResultEvent
 
getType() - Method in class com.github.copilot.sdk.generated.ToolExecutionProgressEvent
 
getType() - Method in class com.github.copilot.sdk.generated.ToolExecutionStartEvent
 
getType() - Method in class com.github.copilot.sdk.generated.ToolUserRequestedEvent
 
getType() - Method in class com.github.copilot.sdk.generated.UnknownSessionEvent
 
getType() - Method in class com.github.copilot.sdk.generated.UserInputCompletedEvent
 
getType() - Method in class com.github.copilot.sdk.generated.UserInputRequestedEvent
 
getType() - Method in class com.github.copilot.sdk.generated.UserMessageEvent
 
getType() - Method in record class com.github.copilot.sdk.json.Attachment
 
getType() - Method in class com.github.copilot.sdk.json.BlobAttachment
Returns the attachment type, always "blob".
getType() - Method in class com.github.copilot.sdk.json.ElicitationSchema
Gets the schema type indicator (always "object").
getType() - Method in class com.github.copilot.sdk.json.McpHttpServerConfig
Gets the server type discriminator.
getType() - Method in class com.github.copilot.sdk.json.McpStdioServerConfig
Gets the server type discriminator.
getType() - Method in interface com.github.copilot.sdk.json.MessageAttachment
Returns the attachment type discriminator (e.g., "file", "blob").
getType() - Method in class com.github.copilot.sdk.json.ProviderConfig
Gets the provider type.
getType() - Method in class com.github.copilot.sdk.json.SessionLifecycleEvent
 
getUi() - Method in class com.github.copilot.sdk.CopilotSession
Gets the UI API for eliciting information from the user during this session.
getUi() - Method in class com.github.copilot.sdk.json.SessionCapabilities
Gets the UI-related capabilities.
getUrl() - Method in class com.github.copilot.sdk.json.ElicitationContext
Gets the URL to open in the user's browser (url mode only).
getUrl() - Method in class com.github.copilot.sdk.json.McpHttpServerConfig
Gets the URL of the remote server.
getUseLoggedInUser() - Method in class com.github.copilot.sdk.json.CopilotClientOptions
Returns whether to use the logged-in user for authentication.
getValue() - Method in enum class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData.AssistantMessageEventDataToolRequestsItem.AssistantMessageEventDataToolRequestsItemType
 
getValue() - Method in enum class com.github.copilot.sdk.generated.ElicitationCompletedEvent.ElicitationCompletedEventData.ElicitationCompletedEventDataAction
 
getValue() - Method in enum class com.github.copilot.sdk.generated.ElicitationRequestedEvent.ElicitationRequestedEventData.ElicitationRequestedEventDataMode
 
getValue() - Method in enum class com.github.copilot.sdk.generated.PermissionCompletedEvent.PermissionCompletedEventData.PermissionCompletedEventDataResult.PermissionCompletedEventDataResultKind
 
getValue() - Method in enum class com.github.copilot.sdk.generated.rpc.McpDiscoverResult.McpDiscoverResultServersItem.McpDiscoverResultServersItemSource
 
getValue() - Method in enum class com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult.SessionExtensionsListResultExtensionsItem.SessionExtensionsListResultExtensionsItemSource
 
getValue() - Method in enum class com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult.SessionExtensionsListResultExtensionsItem.SessionExtensionsListResultExtensionsItemStatus
 
getValue() - Method in enum class com.github.copilot.sdk.generated.rpc.SessionFsReaddirWithTypesResult.SessionFsReaddirWithTypesResultEntriesItem.SessionFsReaddirWithTypesResultEntriesItemType
 
getValue() - Method in enum class com.github.copilot.sdk.generated.rpc.SessionFsSetProviderParams.SessionFsSetProviderParamsConventions
 
getValue() - Method in enum class com.github.copilot.sdk.generated.rpc.SessionLogParams.SessionLogParamsLevel
 
getValue() - Method in enum class com.github.copilot.sdk.generated.rpc.SessionMcpListResult.SessionMcpListResultServersItem.SessionMcpListResultServersItemStatus
 
getValue() - Method in enum class com.github.copilot.sdk.generated.rpc.SessionModeGetResult.SessionModeGetResultMode
 
getValue() - Method in enum class com.github.copilot.sdk.generated.rpc.SessionModeSetParams.SessionModeSetParamsMode
 
getValue() - Method in enum class com.github.copilot.sdk.generated.rpc.SessionModeSetResult.SessionModeSetResultMode
 
getValue() - Method in enum class com.github.copilot.sdk.generated.rpc.SessionShellKillParams.SessionShellKillParamsSignal
 
getValue() - Method in enum class com.github.copilot.sdk.generated.rpc.SessionUiElicitationResult.SessionUiElicitationResultAction
 
getValue() - Method in enum class com.github.copilot.sdk.generated.rpc.SessionUiHandlePendingElicitationParams.SessionUiHandlePendingElicitationParamsResult.SessionUiHandlePendingElicitationParamsResultAction
 
getValue() - Method in enum class com.github.copilot.sdk.generated.SessionContextChangedEvent.SessionContextChangedEventData.SessionContextChangedEventDataHostType
 
getValue() - Method in enum class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData.SessionExtensionsLoadedEventDataExtensionsItem.SessionExtensionsLoadedEventDataExtensionsItemSource
 
getValue() - Method in enum class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData.SessionExtensionsLoadedEventDataExtensionsItem.SessionExtensionsLoadedEventDataExtensionsItemStatus
 
getValue() - Method in enum class com.github.copilot.sdk.generated.SessionHandoffEvent.SessionHandoffEventData.SessionHandoffEventDataSourceType
 
getValue() - Method in enum class com.github.copilot.sdk.generated.SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData.SessionMcpServersLoadedEventDataServersItem.SessionMcpServersLoadedEventDataServersItemStatus
 
getValue() - Method in enum class com.github.copilot.sdk.generated.SessionMcpServerStatusChangedEvent.SessionMcpServerStatusChangedEventData.SessionMcpServerStatusChangedEventDataStatus
 
getValue() - Method in enum class com.github.copilot.sdk.generated.SessionPlanChangedEvent.SessionPlanChangedEventData.SessionPlanChangedEventDataOperation
 
getValue() - Method in enum class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData.SessionResumeEventDataContext.SessionResumeEventDataContextHostType
 
getValue() - Method in enum class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataShutdownType
 
getValue() - Method in enum class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData.SessionStartEventDataContext.SessionStartEventDataContextHostType
 
getValue() - Method in enum class com.github.copilot.sdk.generated.SessionWorkspaceFileChangedEvent.SessionWorkspaceFileChangedEventData.SessionWorkspaceFileChangedEventDataOperation
 
getValue() - Method in enum class com.github.copilot.sdk.generated.SystemMessageEvent.SystemMessageEventData.SystemMessageEventDataRole
 
getValue() - Method in enum class com.github.copilot.sdk.generated.UserMessageEvent.UserMessageEventData.UserMessageEventDataAgentMode
 
getValue() - Method in enum class com.github.copilot.sdk.json.ElicitationResultAction
Returns the wire-format string value.
getValue() - Method in class com.github.copilot.sdk.json.PermissionRequestResultKind
Returns the underlying string value of this kind.
getValue() - Method in enum class com.github.copilot.sdk.json.SectionOverrideAction
Returns the JSON value for this action.
getValue() - Method in enum class com.github.copilot.sdk.SystemMessageMode
Returns the JSON value for this mode.
getVersion() - Method in class com.github.copilot.sdk.json.GetStatusResponse
 
getVersionNumber() - Method in enum class com.github.copilot.sdk.SdkProtocolVersion
 
getVision() - Method in class com.github.copilot.sdk.json.ModelCapabilitiesOverride.Supports
Gets the vision override.
getVision() - Method in class com.github.copilot.sdk.json.ModelLimits
 
getWireApi() - Method in class com.github.copilot.sdk.json.ProviderConfig
Gets the wire API format.
getWorkingDirectory() - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Gets working directory.
getWorkingDirectory() - Method in class com.github.copilot.sdk.json.McpStdioServerConfig
Gets the working directory for the server process.
getWorkingDirectory() - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Gets the working directory for the session.
getWorkingDirectory() - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Gets working directory.
getWorkingDirectory() - Method in class com.github.copilot.sdk.json.SessionConfig
Gets the working directory for the session.
getWorkspacePath() - Method in class com.github.copilot.sdk.CopilotSession
Gets the path to the session workspace directory when infinite sessions are enabled.
GITHUB - Enum constant in enum class com.github.copilot.sdk.generated.SessionContextChangedEvent.SessionContextChangedEventData.SessionContextChangedEventDataHostType
The github variant.
GITHUB - Enum constant in enum class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData.SessionResumeEventDataContext.SessionResumeEventDataContextHostType
The github variant.
GITHUB - Enum constant in enum class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData.SessionStartEventDataContext.SessionStartEventDataContextHostType
The github variant.
gitRoot() - Method in record class com.github.copilot.sdk.generated.SessionContextChangedEvent.SessionContextChangedEventData
Returns the value of the gitRoot record component.
gitRoot() - Method in record class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData.SessionResumeEventDataContext
Returns the value of the gitRoot record component.
gitRoot() - Method in record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData.SessionStartEventDataContext
Returns the value of the gitRoot record component.
GUIDELINES - Static variable in class com.github.copilot.sdk.json.SystemPromptSections
Tips, behavioral best practices, behavioral guidelines.

H

handle(CommandContext) - Method in interface com.github.copilot.sdk.json.CommandHandler
Handles a slash-command execution.
handle(ElicitationContext) - Method in interface com.github.copilot.sdk.json.ElicitationHandler
Handles an elicitation request from the server.
handle(PermissionRequest, PermissionInvocation) - Method in interface com.github.copilot.sdk.json.PermissionHandler
Handles a permission request from the assistant.
handle(PostToolUseHookInput, HookInvocation) - Method in interface com.github.copilot.sdk.json.PostToolUseHandler
Handles a post-tool-use hook invocation.
handle(PreToolUseHookInput, HookInvocation) - Method in interface com.github.copilot.sdk.json.PreToolUseHandler
Handles a pre-tool-use hook invocation.
handle(SessionEndHookInput, HookInvocation) - Method in interface com.github.copilot.sdk.json.SessionEndHandler
Handles a session end event.
handle(SessionStartHookInput, HookInvocation) - Method in interface com.github.copilot.sdk.json.SessionStartHandler
Handles a session start event.
handle(UserInputRequest, UserInputInvocation) - Method in interface com.github.copilot.sdk.json.UserInputHandler
Handles a user input request from the agent.
handle(UserPromptSubmittedHookInput, HookInvocation) - Method in interface com.github.copilot.sdk.json.UserPromptSubmittedHandler
Handles a user prompt submission event.
handleError(SessionEvent, Exception) - Method in interface com.github.copilot.sdk.EventErrorHandler
Called when an event handler throws an exception during event dispatch.
handlePendingCommand(SessionCommandsHandlePendingCommandParams) - Method in class com.github.copilot.sdk.generated.rpc.SessionCommandsApi
Invokes session.commands.handlePendingCommand.
handlePendingElicitation(SessionUiHandlePendingElicitationParams) - Method in class com.github.copilot.sdk.generated.rpc.SessionUiApi
Invokes session.ui.handlePendingElicitation.
handlePendingPermissionRequest(SessionPermissionsHandlePendingPermissionRequestParams) - Method in class com.github.copilot.sdk.generated.rpc.SessionPermissionsApi
Invokes session.permissions.handlePendingPermissionRequest.
handlePendingToolCall(SessionToolsHandlePendingToolCallParams) - Method in class com.github.copilot.sdk.generated.rpc.SessionToolsApi
Invokes session.tools.handlePendingToolCall.
handler() - Method in record class com.github.copilot.sdk.json.ToolDefinition
Returns the value of the handler record component.
handoffTime() - Method in record class com.github.copilot.sdk.generated.SessionHandoffEvent.SessionHandoffEventData
Returns the value of the handoffTime record component.
hashCode() - Method in record class com.github.copilot.sdk.generated.AbortEvent.AbortEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.AssistantIntentEvent.AssistantIntentEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.AssistantMessageDeltaEvent.AssistantMessageDeltaEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData.AssistantMessageEventDataToolRequestsItem
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.AssistantReasoningDeltaEvent.AssistantReasoningDeltaEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.AssistantReasoningEvent.AssistantReasoningEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.AssistantStreamingDeltaEvent.AssistantStreamingDeltaEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.AssistantTurnEndEvent.AssistantTurnEndEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.AssistantTurnStartEvent.AssistantTurnStartEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataCopilotUsage.AssistantUsageEventDataCopilotUsageTokenDetailsItem
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataCopilotUsage
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataQuotaSnapshotsValue
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.CapabilitiesChangedEvent.CapabilitiesChangedEventData.CapabilitiesChangedEventDataUi
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.CapabilitiesChangedEvent.CapabilitiesChangedEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.CommandCompletedEvent.CommandCompletedEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.CommandExecuteEvent.CommandExecuteEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.CommandQueuedEvent.CommandQueuedEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.CommandsChangedEvent.CommandsChangedEventData.CommandsChangedEventDataCommandsItem
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.CommandsChangedEvent.CommandsChangedEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.ElicitationCompletedEvent.ElicitationCompletedEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.ElicitationRequestedEvent.ElicitationRequestedEventData.ElicitationRequestedEventDataRequestedSchema
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.ElicitationRequestedEvent.ElicitationRequestedEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.ExitPlanModeCompletedEvent.ExitPlanModeCompletedEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.ExitPlanModeRequestedEvent.ExitPlanModeRequestedEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.ExternalToolCompletedEvent.ExternalToolCompletedEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.ExternalToolRequestedEvent.ExternalToolRequestedEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.HookEndEvent.HookEndEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.HookEndEvent.HookEndEventData.HookEndEventDataError
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.HookStartEvent.HookStartEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.McpOauthCompletedEvent.McpOauthCompletedEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.McpOauthRequiredEvent.McpOauthRequiredEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.McpOauthRequiredEvent.McpOauthRequiredEventData.McpOauthRequiredEventDataStaticClientConfig
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.PendingMessagesModifiedEvent.PendingMessagesModifiedEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.PermissionCompletedEvent.PermissionCompletedEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.PermissionCompletedEvent.PermissionCompletedEventData.PermissionCompletedEventDataResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.PermissionRequestedEvent.PermissionRequestedEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.AccountGetQuotaResult.AccountGetQuotaResultQuotaSnapshotsValue
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.AccountGetQuotaResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.McpConfigAddParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.McpConfigListResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.McpConfigRemoveParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.McpConfigUpdateParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.McpDiscoverParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.McpDiscoverResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.McpDiscoverResult.McpDiscoverResultServersItem
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemBilling
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities.ModelsListResultModelsItemCapabilitiesLimits
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities.ModelsListResultModelsItemCapabilitiesLimits.ModelsListResultModelsItemCapabilitiesLimitsVision
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities.ModelsListResultModelsItemCapabilitiesSupports
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemPolicy
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.PingParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.PingResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentDeselectParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentDeselectResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentGetCurrentParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentGetCurrentResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentGetCurrentResult.SessionAgentGetCurrentResultAgent
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentListParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentListResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentListResult.SessionAgentListResultAgentsItem
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentReloadParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentReloadResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentReloadResult.SessionAgentReloadResultAgentsItem
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentSelectParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentSelectResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentSelectResult.SessionAgentSelectResultAgent
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionCommandsHandlePendingCommandParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionCommandsHandlePendingCommandResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsDisableParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsDisableResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsEnableParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsEnableResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsListParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult.SessionExtensionsListResultExtensionsItem
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsReloadParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsReloadResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFleetStartParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFleetStartResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsAppendFileParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsExistsParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsExistsResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsMkdirParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReaddirParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReaddirResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReaddirWithTypesParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReaddirWithTypesResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReaddirWithTypesResult.SessionFsReaddirWithTypesResultEntriesItem
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReadFileParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReadFileResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsRenameParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsRmParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsSetProviderParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsSetProviderResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsStatParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsStatResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsWriteFileParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryCompactParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryCompactResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryCompactResult.SessionHistoryCompactResultContextWindow
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryTruncateParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryTruncateResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionLogParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionLogResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpDisableParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpDisableResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpEnableParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpEnableResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpListParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpListResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpListResult.SessionMcpListResultServersItem
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpReloadParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpReloadResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModeGetParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModeGetResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelGetCurrentParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelGetCurrentResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities.SessionModelSwitchToParamsModelCapabilitiesLimits
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities.SessionModelSwitchToParamsModelCapabilitiesLimits.SessionModelSwitchToParamsModelCapabilitiesLimitsVision
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities.SessionModelSwitchToParamsModelCapabilitiesSupports
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModeSetParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModeSetResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPermissionsHandlePendingPermissionRequestParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPermissionsHandlePendingPermissionRequestResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPlanDeleteParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPlanDeleteResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPlanReadParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPlanReadResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPlanUpdateParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPlanUpdateResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPluginsListParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPluginsListResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPluginsListResult.SessionPluginsListResultPluginsItem
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionsForkParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionsForkResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionShellExecParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionShellExecResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionShellKillParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionShellKillResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsDisableParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsDisableResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsEnableParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsEnableResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsListParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsListResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsListResult.SessionSkillsListResultSkillsItem
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsReloadParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsReloadResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionToolsHandlePendingToolCallParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionToolsHandlePendingToolCallResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiElicitationParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiElicitationParams.SessionUiElicitationParamsRequestedSchema
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiElicitationResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiHandlePendingElicitationParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiHandlePendingElicitationParams.SessionUiHandlePendingElicitationParamsResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiHandlePendingElicitationResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.SessionUsageGetMetricsResultCodeChanges
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.SessionUsageGetMetricsResultModelMetricsValue
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.SessionUsageGetMetricsResultModelMetricsValue.SessionUsageGetMetricsResultModelMetricsValueRequests
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.SessionUsageGetMetricsResultModelMetricsValue.SessionUsageGetMetricsResultModelMetricsValueUsage
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceCreateFileParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceCreateFileResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceListFilesParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceListFilesResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceReadFileParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceReadFileResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.ToolsListParams
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.ToolsListResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.rpc.ToolsListResult.ToolsListResultToolsItem
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SamplingCompletedEvent.SamplingCompletedEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SamplingRequestedEvent.SamplingRequestedEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SessionBackgroundTasksChangedEvent.SessionBackgroundTasksChangedEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData.SessionCompactionCompleteEventDataCompactionTokensUsed
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SessionCompactionStartEvent.SessionCompactionStartEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SessionContextChangedEvent.SessionContextChangedEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SessionCustomAgentsUpdatedEvent.SessionCustomAgentsUpdatedEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SessionCustomAgentsUpdatedEvent.SessionCustomAgentsUpdatedEventData.SessionCustomAgentsUpdatedEventDataAgentsItem
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SessionErrorEvent.SessionErrorEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData.SessionExtensionsLoadedEventDataExtensionsItem
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SessionHandoffEvent.SessionHandoffEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SessionHandoffEvent.SessionHandoffEventData.SessionHandoffEventDataRepository
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SessionIdleEvent.SessionIdleEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SessionInfoEvent.SessionInfoEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData.SessionMcpServersLoadedEventDataServersItem
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SessionMcpServerStatusChangedEvent.SessionMcpServerStatusChangedEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SessionModeChangedEvent.SessionModeChangedEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SessionModelChangeEvent.SessionModelChangeEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SessionPlanChangedEvent.SessionPlanChangedEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SessionRemoteSteerableChangedEvent.SessionRemoteSteerableChangedEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData.SessionResumeEventDataContext
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataCodeChanges
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataModelMetricsValue
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataModelMetricsValue.SessionShutdownEventDataModelMetricsValueRequests
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataModelMetricsValue.SessionShutdownEventDataModelMetricsValueUsage
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SessionSkillsLoadedEvent.SessionSkillsLoadedEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SessionSkillsLoadedEvent.SessionSkillsLoadedEventData.SessionSkillsLoadedEventDataSkillsItem
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SessionSnapshotRewindEvent.SessionSnapshotRewindEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData.SessionStartEventDataContext
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SessionTaskCompleteEvent.SessionTaskCompleteEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SessionTitleChangedEvent.SessionTitleChangedEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SessionToolsUpdatedEvent.SessionToolsUpdatedEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SessionTruncationEvent.SessionTruncationEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SessionUsageInfoEvent.SessionUsageInfoEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SessionWarningEvent.SessionWarningEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SessionWorkspaceFileChangedEvent.SessionWorkspaceFileChangedEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SkillInvokedEvent.SkillInvokedEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SubagentCompletedEvent.SubagentCompletedEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SubagentDeselectedEvent.SubagentDeselectedEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SubagentFailedEvent.SubagentFailedEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SubagentSelectedEvent.SubagentSelectedEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SubagentStartedEvent.SubagentStartedEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SystemMessageEvent.SystemMessageEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SystemMessageEvent.SystemMessageEventData.SystemMessageEventDataMetadata
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.SystemNotificationEvent.SystemNotificationEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData.ToolExecutionCompleteEventDataError
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData.ToolExecutionCompleteEventDataResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.ToolExecutionPartialResultEvent.ToolExecutionPartialResultEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.ToolExecutionProgressEvent.ToolExecutionProgressEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.ToolExecutionStartEvent.ToolExecutionStartEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.ToolUserRequestedEvent.ToolUserRequestedEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.UserInputCompletedEvent.UserInputCompletedEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.UserInputRequestedEvent.UserInputRequestedEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.generated.UserMessageEvent.UserMessageEventData
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.json.Attachment
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.json.CreateSessionResponse
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.json.DeleteSessionResponse
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.json.GetForegroundSessionResponse
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.json.GetLastSessionIdResponse
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.json.GetMessagesResponse
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.json.GetSessionMetadataResponse
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.json.ListSessionsResponse
Returns a hash code value for this object.
hashCode() - Method in class com.github.copilot.sdk.json.PermissionRequestResultKind
 
hashCode() - Method in record class com.github.copilot.sdk.json.PingResponse
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.json.PostToolUseHookOutput
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.json.PreToolUseHookOutput
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.json.ResumeSessionResponse
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.json.SendMessageResponse
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.json.SessionEndHookInput
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.json.SessionEndHookOutput
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.json.SessionLifecycleEventMetadata
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.json.SessionStartHookInput
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.json.SessionStartHookOutput
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.json.SetForegroundSessionResponse
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.json.ToolBinaryResult
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.json.ToolDefinition
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.json.ToolResultObject
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.json.UserPromptSubmittedHookInput
Returns a hash code value for this object.
hashCode() - Method in record class com.github.copilot.sdk.json.UserPromptSubmittedHookOutput
Returns a hash code value for this object.
hasHooks() - Method in class com.github.copilot.sdk.json.SessionHooks
Returns whether any hooks are registered.
headCommit() - Method in record class com.github.copilot.sdk.generated.SessionContextChangedEvent.SessionContextChangedEventData
Returns the value of the headCommit record component.
headCommit() - Method in record class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData.SessionResumeEventDataContext
Returns the value of the headCommit record component.
headCommit() - Method in record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData.SessionStartEventDataContext
Returns the value of the headCommit record component.
history - Variable in class com.github.copilot.sdk.generated.rpc.SessionRpc
API methods for the history namespace.
HookEndEvent - Class in com.github.copilot.sdk.generated
The hook.end session event.
HookEndEvent() - Constructor for class com.github.copilot.sdk.generated.HookEndEvent
 
HookEndEvent.HookEndEventData - Record Class in com.github.copilot.sdk.generated
Data payload for HookEndEvent.
HookEndEvent.HookEndEventData.HookEndEventDataError - Record Class in com.github.copilot.sdk.generated
Error details when the hook failed
HookEndEventData(String, String, Object, Boolean, HookEndEvent.HookEndEventData.HookEndEventDataError) - Constructor for record class com.github.copilot.sdk.generated.HookEndEvent.HookEndEventData
Creates an instance of a HookEndEventData record class.
HookEndEventDataError(String, String) - Constructor for record class com.github.copilot.sdk.generated.HookEndEvent.HookEndEventData.HookEndEventDataError
Creates an instance of a HookEndEventDataError record class.
HookInvocation - Class in com.github.copilot.sdk.json
Context for a hook invocation.
HookInvocation() - Constructor for class com.github.copilot.sdk.json.HookInvocation
 
hookInvocationId() - Method in record class com.github.copilot.sdk.generated.HookEndEvent.HookEndEventData
Returns the value of the hookInvocationId record component.
hookInvocationId() - Method in record class com.github.copilot.sdk.generated.HookStartEvent.HookStartEventData
Returns the value of the hookInvocationId record component.
HookStartEvent - Class in com.github.copilot.sdk.generated
The hook.start session event.
HookStartEvent() - Constructor for class com.github.copilot.sdk.generated.HookStartEvent
 
HookStartEvent.HookStartEventData - Record Class in com.github.copilot.sdk.generated
Data payload for HookStartEvent.
HookStartEventData(String, String, Object) - Constructor for record class com.github.copilot.sdk.generated.HookStartEvent.HookStartEventData
Creates an instance of a HookStartEventData record class.
hookType() - Method in record class com.github.copilot.sdk.generated.HookEndEvent.HookEndEventData
Returns the value of the hookType record component.
hookType() - Method in record class com.github.copilot.sdk.generated.HookStartEvent.HookStartEventData
Returns the value of the hookType record component.
host() - Method in record class com.github.copilot.sdk.generated.SessionHandoffEvent.SessionHandoffEventData
Returns the value of the host record component.
hostType() - Method in record class com.github.copilot.sdk.generated.SessionContextChangedEvent.SessionContextChangedEventData
Returns the value of the hostType record component.
hostType() - Method in record class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData.SessionResumeEventDataContext
Returns the value of the hostType record component.
hostType() - Method in record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData.SessionStartEventDataContext
Returns the value of the hostType record component.

I

id() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem
Returns the value of the id record component.
id() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsDisableParams
Returns the value of the id record component.
id() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsEnableParams
Returns the value of the id record component.
id() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult.SessionExtensionsListResultExtensionsItem
Returns the value of the id record component.
id() - Method in record class com.github.copilot.sdk.generated.SessionCustomAgentsUpdatedEvent.SessionCustomAgentsUpdatedEventData.SessionCustomAgentsUpdatedEventDataAgentsItem
Returns the value of the id record component.
id() - Method in record class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData.SessionExtensionsLoadedEventDataExtensionsItem
Returns the value of the id record component.
IDENTITY - Static variable in class com.github.copilot.sdk.json.SystemPromptSections
Agent identity preamble and mode statement.
InfiniteSessionConfig - Class in com.github.copilot.sdk.json
Configuration for infinite sessions with automatic context compaction and workspace persistence.
InfiniteSessionConfig() - Constructor for class com.github.copilot.sdk.json.InfiniteSessionConfig
 
INFO - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionLogParams.SessionLogParamsLevel
The info variant.
infoType() - Method in record class com.github.copilot.sdk.generated.SessionInfoEvent.SessionInfoEventData
Returns the value of the infoType record component.
initialCwd() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsSetProviderParams
Returns the value of the initialCwd record component.
initialPrompt() - Method in record class com.github.copilot.sdk.json.SessionStartHookInput
Returns the value of the initialPrompt record component.
initiator() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData
Returns the value of the initiator record component.
input() - Method in record class com.github.copilot.sdk.generated.HookStartEvent.HookStartEventData
Returns the value of the input record component.
input() - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData.SessionCompactionCompleteEventDataCompactionTokensUsed
Returns the value of the input record component.
input(String, InputOptions) - Method in interface com.github.copilot.sdk.json.SessionUiApi
Shows a text input dialog.
InputOptions - Class in com.github.copilot.sdk.json
Options for the SessionUiApi.input(String, InputOptions) convenience method.
InputOptions() - Constructor for class com.github.copilot.sdk.json.InputOptions
 
inputTokens() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData
Returns the value of the inputTokens record component.
inputTokens() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.SessionUsageGetMetricsResultModelMetricsValue.SessionUsageGetMetricsResultModelMetricsValueUsage
Returns the value of the inputTokens record component.
inputTokens() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataModelMetricsValue.SessionShutdownEventDataModelMetricsValueUsage
Returns the value of the inputTokens record component.
instructions() - Method in record class com.github.copilot.sdk.generated.rpc.ToolsListResult.ToolsListResultToolsItem
Returns the value of the instructions record component.
intent() - Method in record class com.github.copilot.sdk.generated.AssistantIntentEvent.AssistantIntentEventData
Returns the value of the intent record component.
intentionSummary() - Method in record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData.AssistantMessageEventDataToolRequestsItem
Returns the value of the intentionSummary record component.
interactionId() - Method in record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData
Returns the value of the interactionId record component.
interactionId() - Method in record class com.github.copilot.sdk.generated.AssistantTurnStartEvent.AssistantTurnStartEventData
Returns the value of the interactionId record component.
interactionId() - Method in record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData
Returns the value of the interactionId record component.
interactionId() - Method in record class com.github.copilot.sdk.generated.UserMessageEvent.UserMessageEventData
Returns the value of the interactionId record component.
INTERACTIVE - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionModeGetResult.SessionModeGetResultMode
The interactive variant.
INTERACTIVE - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionModeSetParams.SessionModeSetParamsMode
The interactive variant.
INTERACTIVE - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionModeSetResult.SessionModeSetResultMode
The interactive variant.
INTERACTIVE - Enum constant in enum class com.github.copilot.sdk.generated.UserMessageEvent.UserMessageEventData.UserMessageEventDataAgentMode
The interactive variant.
interTokenLatencyMs() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData
Returns the value of the interTokenLatencyMs record component.
invoke(ToolInvocation) - Method in interface com.github.copilot.sdk.json.ToolHandler
Invokes the tool with the given invocation context.
invoke(String, Object, Class<T>) - Method in interface com.github.copilot.sdk.generated.rpc.RpcCaller
Invokes a JSON-RPC method and returns a future for the typed response.
isAuthenticated() - Method in class com.github.copilot.sdk.json.GetAuthStatusResponse
 
isAutoRestart() - Method in class com.github.copilot.sdk.json.CopilotClientOptions
Deprecated.
This option has no effect and will be removed in a future release.
isAutoStart() - Method in class com.github.copilot.sdk.json.CopilotClientOptions
Returns whether the client should automatically start the server.
isDirectory() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsStatResult
Returns the value of the isDirectory record component.
isDisableResume() - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Returns whether the resume event is disabled.
isFile() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsStatResult
Returns the value of the isFile record component.
isInitial() - Method in record class com.github.copilot.sdk.generated.SessionUsageInfoEvent.SessionUsageInfoEventData
Returns the value of the isInitial record component.
isReasoningEffort() - Method in class com.github.copilot.sdk.json.ModelSupports
Returns whether this model supports reasoning effort configuration.
isRemote() - Method in class com.github.copilot.sdk.json.SessionMetadata
Returns whether this session is stored remotely.
isStreaming() - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Returns whether streaming is enabled.
isStreaming() - Method in class com.github.copilot.sdk.json.SessionConfig
Returns whether streaming is enabled.
isUnlimitedEntitlement() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataQuotaSnapshotsValue
Returns the value of the isUnlimitedEntitlement record component.
isUserRequested() - Method in record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData
Returns the value of the isUserRequested record component.
isUseStdio() - Method in class com.github.copilot.sdk.json.CopilotClientOptions
Returns whether to use stdio transport instead of TCP.
isVision() - Method in class com.github.copilot.sdk.json.ModelSupports
 
isWasFreeform() - Method in class com.github.copilot.sdk.json.UserInputResponse
Returns whether the answer was freeform (not from the provided choices).

J

JsonRpcError - Class in com.github.copilot.sdk.json
JSON-RPC 2.0 error structure.
JsonRpcError() - Constructor for class com.github.copilot.sdk.json.JsonRpcError
 
JsonRpcRequest - Class in com.github.copilot.sdk.json
JSON-RPC 2.0 request structure.
JsonRpcRequest() - Constructor for class com.github.copilot.sdk.json.JsonRpcRequest
 
JsonRpcResponse - Class in com.github.copilot.sdk.json
JSON-RPC 2.0 response structure.
JsonRpcResponse() - Constructor for class com.github.copilot.sdk.json.JsonRpcResponse
 

K

kill(SessionShellKillParams) - Method in class com.github.copilot.sdk.generated.rpc.SessionShellApi
Invokes session.shell.kill.
killed() - Method in record class com.github.copilot.sdk.generated.rpc.SessionShellKillResult
Returns the value of the killed record component.
kind() - Method in record class com.github.copilot.sdk.generated.PermissionCompletedEvent.PermissionCompletedEventData.PermissionCompletedEventDataResult
Returns the value of the kind record component.
kind() - Method in record class com.github.copilot.sdk.generated.SystemNotificationEvent.SystemNotificationEventData
Returns the value of the kind record component.

L

LAST_INSTRUCTIONS - Static variable in class com.github.copilot.sdk.json.SystemPromptSections
End-of-prompt instructions: parallel tool calling, persistence, task completion.
lastCallInputTokens() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult
Returns the value of the lastCallInputTokens record component.
lastCallOutputTokens() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult
Returns the value of the lastCallOutputTokens record component.
LATEST - Enum constant in enum class com.github.copilot.sdk.SdkProtocolVersion
 
level() - Method in record class com.github.copilot.sdk.generated.rpc.SessionLogParams
Returns the value of the level record component.
limits() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities
Returns the value of the limits record component.
limits() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities
Returns the value of the limits record component.
Limits() - Constructor for class com.github.copilot.sdk.json.ModelCapabilitiesOverride.Limits
 
linesAdded() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.SessionUsageGetMetricsResultCodeChanges
Returns the value of the linesAdded record component.
linesAdded() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataCodeChanges
Returns the value of the linesAdded record component.
linesRemoved() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.SessionUsageGetMetricsResultCodeChanges
Returns the value of the linesRemoved record component.
linesRemoved() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataCodeChanges
Returns the value of the linesRemoved record component.
list() - Method in class com.github.copilot.sdk.generated.rpc.ServerMcpConfigApi
Invokes mcp.config.list.
list() - Method in class com.github.copilot.sdk.generated.rpc.ServerModelsApi
Invokes models.list.
list() - Method in class com.github.copilot.sdk.generated.rpc.SessionAgentApi
Invokes session.agent.list.
list() - Method in class com.github.copilot.sdk.generated.rpc.SessionExtensionsApi
Invokes session.extensions.list.
list() - Method in class com.github.copilot.sdk.generated.rpc.SessionMcpApi
Invokes session.mcp.list.
list() - Method in class com.github.copilot.sdk.generated.rpc.SessionPluginsApi
Invokes session.plugins.list.
list() - Method in class com.github.copilot.sdk.generated.rpc.SessionSkillsApi
Invokes session.skills.list.
list(ToolsListParams) - Method in class com.github.copilot.sdk.generated.rpc.ServerToolsApi
Invokes tools.list.
listAgents() - Method in class com.github.copilot.sdk.CopilotSession
Lists the custom agents available for selection in this session.
listFiles() - Method in class com.github.copilot.sdk.generated.rpc.SessionWorkspaceApi
Invokes session.workspace.listFiles.
listModels() - Method in class com.github.copilot.sdk.CopilotClient
Lists available models with their metadata.
listSessions() - Method in class com.github.copilot.sdk.CopilotClient
Lists all available sessions.
listSessions(SessionListFilter) - Method in class com.github.copilot.sdk.CopilotClient
Lists all available sessions with optional filtering.
ListSessionsResponse - Record Class in com.github.copilot.sdk.json
Internal response object from listing sessions.
ListSessionsResponse(List<SessionMetadata>) - Constructor for record class com.github.copilot.sdk.json.ListSessionsResponse
Creates an instance of a ListSessionsResponse record class.
LOCAL - Enum constant in enum class com.github.copilot.sdk.generated.SessionHandoffEvent.SessionHandoffEventData.SessionHandoffEventDataSourceType
The local variant.
log(SessionLogParams) - Method in class com.github.copilot.sdk.generated.rpc.SessionRpc
Invokes session.log.
log(String) - Method in class com.github.copilot.sdk.CopilotSession
Logs an informational message to the session timeline.
log(String, String, Boolean) - Method in class com.github.copilot.sdk.CopilotSession
Logs a message to the session timeline.
log(String, String, Boolean, String) - Method in class com.github.copilot.sdk.CopilotSession
Logs a message to the session timeline.

M

marketplace() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPluginsListResult.SessionPluginsListResultPluginsItem
Returns the value of the marketplace record component.
maxContextWindowTokens() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities.ModelsListResultModelsItemCapabilitiesLimits
Returns the value of the maxContextWindowTokens record component.
maxContextWindowTokens() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities.SessionModelSwitchToParamsModelCapabilitiesLimits
Returns the value of the maxContextWindowTokens record component.
maxOutputTokens() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities.ModelsListResultModelsItemCapabilitiesLimits
Returns the value of the maxOutputTokens record component.
maxOutputTokens() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities.SessionModelSwitchToParamsModelCapabilitiesLimits
Returns the value of the maxOutputTokens record component.
maxPromptImages() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities.ModelsListResultModelsItemCapabilitiesLimits.ModelsListResultModelsItemCapabilitiesLimitsVision
Returns the value of the maxPromptImages record component.
maxPromptImages() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities.SessionModelSwitchToParamsModelCapabilitiesLimits.SessionModelSwitchToParamsModelCapabilitiesLimitsVision
Returns the value of the maxPromptImages record component.
maxPromptImageSize() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities.ModelsListResultModelsItemCapabilitiesLimits.ModelsListResultModelsItemCapabilitiesLimitsVision
Returns the value of the maxPromptImageSize record component.
maxPromptImageSize() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities.SessionModelSwitchToParamsModelCapabilitiesLimits.SessionModelSwitchToParamsModelCapabilitiesLimitsVision
Returns the value of the maxPromptImageSize record component.
maxPromptTokens() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities.ModelsListResultModelsItemCapabilitiesLimits
Returns the value of the maxPromptTokens record component.
maxPromptTokens() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities.SessionModelSwitchToParamsModelCapabilitiesLimits
Returns the value of the maxPromptTokens record component.
mcp - Variable in class com.github.copilot.sdk.generated.rpc.ServerRpc
API methods for the mcp namespace.
mcp - Variable in class com.github.copilot.sdk.generated.rpc.SessionRpc
API methods for the mcp namespace.
McpConfigAddParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the mcp.config.add RPC method.
McpConfigAddParams(String, Object) - Constructor for record class com.github.copilot.sdk.generated.rpc.McpConfigAddParams
Creates an instance of a McpConfigAddParams record class.
McpConfigListResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the mcp.config.list RPC method.
McpConfigListResult(Map<String, Object>) - Constructor for record class com.github.copilot.sdk.generated.rpc.McpConfigListResult
Creates an instance of a McpConfigListResult record class.
McpConfigRemoveParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the mcp.config.remove RPC method.
McpConfigRemoveParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.McpConfigRemoveParams
Creates an instance of a McpConfigRemoveParams record class.
McpConfigUpdateParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the mcp.config.update RPC method.
McpConfigUpdateParams(String, Object) - Constructor for record class com.github.copilot.sdk.generated.rpc.McpConfigUpdateParams
Creates an instance of a McpConfigUpdateParams record class.
McpDiscoverParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the mcp.discover RPC method.
McpDiscoverParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.McpDiscoverParams
Creates an instance of a McpDiscoverParams record class.
McpDiscoverResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the mcp.discover RPC method.
McpDiscoverResult(List<McpDiscoverResult.McpDiscoverResultServersItem>) - Constructor for record class com.github.copilot.sdk.generated.rpc.McpDiscoverResult
Creates an instance of a McpDiscoverResult record class.
McpDiscoverResult.McpDiscoverResultServersItem - Record Class in com.github.copilot.sdk.generated.rpc
 
McpDiscoverResult.McpDiscoverResultServersItem.McpDiscoverResultServersItemSource - Enum Class in com.github.copilot.sdk.generated.rpc
Configuration source
McpDiscoverResultServersItem(String, String, McpDiscoverResult.McpDiscoverResultServersItem.McpDiscoverResultServersItemSource, Boolean) - Constructor for record class com.github.copilot.sdk.generated.rpc.McpDiscoverResult.McpDiscoverResultServersItem
Creates an instance of a McpDiscoverResultServersItem record class.
McpHttpServerConfig - Class in com.github.copilot.sdk.json
Configuration for a remote HTTP/SSE MCP (Model Context Protocol) server.
McpHttpServerConfig() - Constructor for class com.github.copilot.sdk.json.McpHttpServerConfig
 
McpOauthCompletedEvent - Class in com.github.copilot.sdk.generated
The mcp.oauth_completed session event.
McpOauthCompletedEvent() - Constructor for class com.github.copilot.sdk.generated.McpOauthCompletedEvent
 
McpOauthCompletedEvent.McpOauthCompletedEventData - Record Class in com.github.copilot.sdk.generated
Data payload for McpOauthCompletedEvent.
McpOauthCompletedEventData(String) - Constructor for record class com.github.copilot.sdk.generated.McpOauthCompletedEvent.McpOauthCompletedEventData
Creates an instance of a McpOauthCompletedEventData record class.
McpOauthRequiredEvent - Class in com.github.copilot.sdk.generated
The mcp.oauth_required session event.
McpOauthRequiredEvent() - Constructor for class com.github.copilot.sdk.generated.McpOauthRequiredEvent
 
McpOauthRequiredEvent.McpOauthRequiredEventData - Record Class in com.github.copilot.sdk.generated
Data payload for McpOauthRequiredEvent.
McpOauthRequiredEvent.McpOauthRequiredEventData.McpOauthRequiredEventDataStaticClientConfig - Record Class in com.github.copilot.sdk.generated
Static OAuth client configuration, if the server specifies one
McpOauthRequiredEventData(String, String, String, McpOauthRequiredEvent.McpOauthRequiredEventData.McpOauthRequiredEventDataStaticClientConfig) - Constructor for record class com.github.copilot.sdk.generated.McpOauthRequiredEvent.McpOauthRequiredEventData
Creates an instance of a McpOauthRequiredEventData record class.
McpOauthRequiredEventDataStaticClientConfig(String, Boolean) - Constructor for record class com.github.copilot.sdk.generated.McpOauthRequiredEvent.McpOauthRequiredEventData.McpOauthRequiredEventDataStaticClientConfig
Creates an instance of a McpOauthRequiredEventDataStaticClientConfig record class.
mcpRequestId() - Method in record class com.github.copilot.sdk.generated.SamplingRequestedEvent.SamplingRequestedEventData
Returns the value of the mcpRequestId record component.
McpServerConfig - Class in com.github.copilot.sdk.json
Abstract base class for MCP (Model Context Protocol) server configurations.
McpServerConfig() - Constructor for class com.github.copilot.sdk.json.McpServerConfig
 
mcpServerName() - Method in record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData.AssistantMessageEventDataToolRequestsItem
Returns the value of the mcpServerName record component.
mcpServerName() - Method in record class com.github.copilot.sdk.generated.ToolExecutionStartEvent.ToolExecutionStartEventData
Returns the value of the mcpServerName record component.
McpStdioServerConfig - Class in com.github.copilot.sdk.json
Configuration for a local/stdio MCP (Model Context Protocol) server.
McpStdioServerConfig() - Constructor for class com.github.copilot.sdk.json.McpStdioServerConfig
 
mcpToolName() - Method in record class com.github.copilot.sdk.generated.ToolExecutionStartEvent.ToolExecutionStartEventData
Returns the value of the mcpToolName record component.
message() - Method in record class com.github.copilot.sdk.generated.ElicitationRequestedEvent.ElicitationRequestedEventData
Returns the value of the message record component.
message() - Method in record class com.github.copilot.sdk.generated.HookEndEvent.HookEndEventData.HookEndEventDataError
Returns the value of the message record component.
message() - Method in record class com.github.copilot.sdk.generated.rpc.PingParams
Returns the value of the message record component.
message() - Method in record class com.github.copilot.sdk.generated.rpc.PingResult
Returns the value of the message record component.
message() - Method in record class com.github.copilot.sdk.generated.rpc.SessionLogParams
Returns the value of the message record component.
message() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiElicitationParams
Returns the value of the message record component.
message() - Method in record class com.github.copilot.sdk.generated.SessionErrorEvent.SessionErrorEventData
Returns the value of the message record component.
message() - Method in record class com.github.copilot.sdk.generated.SessionInfoEvent.SessionInfoEventData
Returns the value of the message record component.
message() - Method in record class com.github.copilot.sdk.generated.SessionWarningEvent.SessionWarningEventData
Returns the value of the message record component.
message() - Method in record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData.ToolExecutionCompleteEventDataError
Returns the value of the message record component.
message() - Method in record class com.github.copilot.sdk.json.PingResponse
Returns the value of the message record component.
MessageAttachment - Interface in com.github.copilot.sdk.json
Marker interface for all attachment types that can be included in a message.
messageId() - Method in record class com.github.copilot.sdk.generated.AssistantMessageDeltaEvent.AssistantMessageDeltaEventData
Returns the value of the messageId record component.
messageId() - Method in record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData
Returns the value of the messageId record component.
messageId() - Method in record class com.github.copilot.sdk.json.SendMessageResponse
Returns the value of the messageId record component.
MessageOptions - Class in com.github.copilot.sdk.json
Options for sending a message to a Copilot session.
MessageOptions() - Constructor for class com.github.copilot.sdk.json.MessageOptions
 
messagesLength() - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryCompactResult.SessionHistoryCompactResultContextWindow
Returns the value of the messagesLength record component.
messagesLength() - Method in record class com.github.copilot.sdk.generated.SessionUsageInfoEvent.SessionUsageInfoEventData
Returns the value of the messagesLength record component.
messagesRemoved() - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryCompactResult
Returns the value of the messagesRemoved record component.
messagesRemoved() - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData
Returns the value of the messagesRemoved record component.
messagesRemovedDuringTruncation() - Method in record class com.github.copilot.sdk.generated.SessionTruncationEvent.SessionTruncationEventData
Returns the value of the messagesRemovedDuringTruncation record component.
metadata() - Method in record class com.github.copilot.sdk.generated.SystemMessageEvent.SystemMessageEventData
Returns the value of the metadata record component.
mimeType() - Method in record class com.github.copilot.sdk.json.ToolBinaryResult
Returns the value of the mimeType record component.
mode - Variable in class com.github.copilot.sdk.generated.rpc.SessionRpc
API methods for the mode namespace.
mode() - Method in record class com.github.copilot.sdk.generated.ElicitationRequestedEvent.ElicitationRequestedEventData
Returns the value of the mode record component.
mode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsAppendFileParams
Returns the value of the mode record component.
mode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsMkdirParams
Returns the value of the mode record component.
mode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsWriteFileParams
Returns the value of the mode record component.
mode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModeGetResult
Returns the value of the mode record component.
mode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModeSetParams
Returns the value of the mode record component.
mode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModeSetResult
Returns the value of the mode record component.
model - Variable in class com.github.copilot.sdk.generated.rpc.SessionRpc
API methods for the model namespace.
model() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData
Returns the value of the model record component.
model() - Method in record class com.github.copilot.sdk.generated.rpc.ToolsListParams
Returns the value of the model record component.
model() - Method in record class com.github.copilot.sdk.generated.SessionCustomAgentsUpdatedEvent.SessionCustomAgentsUpdatedEventData.SessionCustomAgentsUpdatedEventDataAgentsItem
Returns the value of the model record component.
model() - Method in record class com.github.copilot.sdk.generated.SessionToolsUpdatedEvent.SessionToolsUpdatedEventData
Returns the value of the model record component.
model() - Method in record class com.github.copilot.sdk.generated.SubagentCompletedEvent.SubagentCompletedEventData
Returns the value of the model record component.
model() - Method in record class com.github.copilot.sdk.generated.SubagentFailedEvent.SubagentFailedEventData
Returns the value of the model record component.
model() - Method in record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData
Returns the value of the model record component.
ModelBilling - Class in com.github.copilot.sdk.json
Model billing information.
ModelBilling() - Constructor for class com.github.copilot.sdk.json.ModelBilling
 
modelCapabilities() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams
Returns the value of the modelCapabilities record component.
ModelCapabilities - Class in com.github.copilot.sdk.json
Model capabilities and limits.
ModelCapabilities() - Constructor for class com.github.copilot.sdk.json.ModelCapabilities
 
ModelCapabilitiesOverride - Class in com.github.copilot.sdk.json
Per-property overrides for model capabilities, deep-merged over runtime defaults.
ModelCapabilitiesOverride() - Constructor for class com.github.copilot.sdk.json.ModelCapabilitiesOverride
 
ModelCapabilitiesOverride.Limits - Class in com.github.copilot.sdk.json
Token limit overrides for model capabilities.
ModelCapabilitiesOverride.Supports - Class in com.github.copilot.sdk.json
Feature flag overrides for model capabilities.
modelId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelGetCurrentResult
Returns the value of the modelId record component.
modelId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams
Returns the value of the modelId record component.
modelId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToResult
Returns the value of the modelId record component.
ModelInfo - Class in com.github.copilot.sdk.json
Information about an available model.
ModelInfo() - Constructor for class com.github.copilot.sdk.json.ModelInfo
 
ModelLimits - Class in com.github.copilot.sdk.json
Model limits.
ModelLimits() - Constructor for class com.github.copilot.sdk.json.ModelLimits
 
modelMetrics() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult
Returns the value of the modelMetrics record component.
modelMetrics() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData
Returns the value of the modelMetrics record component.
ModelPolicy - Class in com.github.copilot.sdk.json
Model policy state.
ModelPolicy() - Constructor for class com.github.copilot.sdk.json.ModelPolicy
 
models - Variable in class com.github.copilot.sdk.generated.rpc.ServerRpc
API methods for the models namespace.
models() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult
Returns the value of the models record component.
ModelsListResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the models.list RPC method.
ModelsListResult(List<ModelsListResult.ModelsListResultModelsItem>) - Constructor for record class com.github.copilot.sdk.generated.rpc.ModelsListResult
Creates an instance of a ModelsListResult record class.
ModelsListResult.ModelsListResultModelsItem - Record Class in com.github.copilot.sdk.generated.rpc
 
ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemBilling - Record Class in com.github.copilot.sdk.generated.rpc
Billing information
ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities - Record Class in com.github.copilot.sdk.generated.rpc
Model capabilities and limits
ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities.ModelsListResultModelsItemCapabilitiesLimits - Record Class in com.github.copilot.sdk.generated.rpc
Token limits for prompts, outputs, and context window
ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities.ModelsListResultModelsItemCapabilitiesLimits.ModelsListResultModelsItemCapabilitiesLimitsVision - Record Class in com.github.copilot.sdk.generated.rpc
Vision-specific limits
ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities.ModelsListResultModelsItemCapabilitiesSupports - Record Class in com.github.copilot.sdk.generated.rpc
Feature flags indicating what the model supports
ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemPolicy - Record Class in com.github.copilot.sdk.generated.rpc
Policy state (if applicable)
ModelsListResultModelsItem(String, String, ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities, ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemPolicy, ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemBilling, List<String>, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem
Creates an instance of a ModelsListResultModelsItem record class.
ModelsListResultModelsItemBilling(Double) - Constructor for record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemBilling
Creates an instance of a ModelsListResultModelsItemBilling record class.
ModelsListResultModelsItemCapabilities(ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities.ModelsListResultModelsItemCapabilitiesSupports, ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities.ModelsListResultModelsItemCapabilitiesLimits) - Constructor for record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities
Creates an instance of a ModelsListResultModelsItemCapabilities record class.
ModelsListResultModelsItemCapabilitiesLimits(Double, Double, Double, ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities.ModelsListResultModelsItemCapabilitiesLimits.ModelsListResultModelsItemCapabilitiesLimitsVision) - Constructor for record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities.ModelsListResultModelsItemCapabilitiesLimits
Creates an instance of a ModelsListResultModelsItemCapabilitiesLimits record class.
ModelsListResultModelsItemCapabilitiesLimitsVision(List<String>, Double, Double) - Constructor for record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities.ModelsListResultModelsItemCapabilitiesLimits.ModelsListResultModelsItemCapabilitiesLimitsVision
Creates an instance of a ModelsListResultModelsItemCapabilitiesLimitsVision record class.
ModelsListResultModelsItemCapabilitiesSupports(Boolean, Boolean) - Constructor for record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities.ModelsListResultModelsItemCapabilitiesSupports
Creates an instance of a ModelsListResultModelsItemCapabilitiesSupports record class.
ModelsListResultModelsItemPolicy(String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemPolicy
Creates an instance of a ModelsListResultModelsItemPolicy record class.
ModelSupports - Class in com.github.copilot.sdk.json
Model support flags.
ModelSupports() - Constructor for class com.github.copilot.sdk.json.ModelSupports
 
ModelVisionLimits - Class in com.github.copilot.sdk.json
Model vision-specific limits.
ModelVisionLimits() - Constructor for class com.github.copilot.sdk.json.ModelVisionLimits
 
modifiedArgs() - Method in record class com.github.copilot.sdk.json.PreToolUseHookOutput
Returns the value of the modifiedArgs record component.
modifiedConfig() - Method in record class com.github.copilot.sdk.json.SessionStartHookOutput
Returns the value of the modifiedConfig record component.
modifiedPrompt() - Method in record class com.github.copilot.sdk.json.UserPromptSubmittedHookOutput
Returns the value of the modifiedPrompt record component.
modifiedResult() - Method in record class com.github.copilot.sdk.json.PostToolUseHookOutput
Returns the value of the modifiedResult record component.
modifiedTime() - Method in record class com.github.copilot.sdk.json.SessionLifecycleEventMetadata
Returns the value of the modifiedTime record component.
mtime() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsStatResult
Returns the value of the mtime record component.
multiplier() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemBilling
Returns the value of the multiplier record component.

N

name() - Method in record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData.AssistantMessageEventDataToolRequestsItem
Returns the value of the name record component.
name() - Method in record class com.github.copilot.sdk.generated.CommandsChangedEvent.CommandsChangedEventData.CommandsChangedEventDataCommandsItem
Returns the value of the name record component.
name() - Method in record class com.github.copilot.sdk.generated.rpc.McpConfigAddParams
Returns the value of the name record component.
name() - Method in record class com.github.copilot.sdk.generated.rpc.McpConfigRemoveParams
Returns the value of the name record component.
name() - Method in record class com.github.copilot.sdk.generated.rpc.McpConfigUpdateParams
Returns the value of the name record component.
name() - Method in record class com.github.copilot.sdk.generated.rpc.McpDiscoverResult.McpDiscoverResultServersItem
Returns the value of the name record component.
name() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem
Returns the value of the name record component.
name() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentGetCurrentResult.SessionAgentGetCurrentResultAgent
Returns the value of the name record component.
name() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentListResult.SessionAgentListResultAgentsItem
Returns the value of the name record component.
name() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentReloadResult.SessionAgentReloadResultAgentsItem
Returns the value of the name record component.
name() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentSelectParams
Returns the value of the name record component.
name() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentSelectResult.SessionAgentSelectResultAgent
Returns the value of the name record component.
name() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult.SessionExtensionsListResultExtensionsItem
Returns the value of the name record component.
name() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReaddirWithTypesResult.SessionFsReaddirWithTypesResultEntriesItem
Returns the value of the name record component.
name() - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpListResult.SessionMcpListResultServersItem
Returns the value of the name record component.
name() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPluginsListResult.SessionPluginsListResultPluginsItem
Returns the value of the name record component.
name() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsDisableParams
Returns the value of the name record component.
name() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsEnableParams
Returns the value of the name record component.
name() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsListResult.SessionSkillsListResultSkillsItem
Returns the value of the name record component.
name() - Method in record class com.github.copilot.sdk.generated.rpc.ToolsListResult.ToolsListResultToolsItem
Returns the value of the name record component.
name() - Method in record class com.github.copilot.sdk.generated.SessionCustomAgentsUpdatedEvent.SessionCustomAgentsUpdatedEventData.SessionCustomAgentsUpdatedEventDataAgentsItem
Returns the value of the name record component.
name() - Method in record class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData.SessionExtensionsLoadedEventDataExtensionsItem
Returns the value of the name record component.
name() - Method in record class com.github.copilot.sdk.generated.SessionHandoffEvent.SessionHandoffEventData.SessionHandoffEventDataRepository
Returns the value of the name record component.
name() - Method in record class com.github.copilot.sdk.generated.SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData.SessionMcpServersLoadedEventDataServersItem
Returns the value of the name record component.
name() - Method in record class com.github.copilot.sdk.generated.SessionSkillsLoadedEvent.SessionSkillsLoadedEventData.SessionSkillsLoadedEventDataSkillsItem
Returns the value of the name record component.
name() - Method in record class com.github.copilot.sdk.generated.SkillInvokedEvent.SkillInvokedEventData
Returns the value of the name record component.
name() - Method in record class com.github.copilot.sdk.generated.SystemMessageEvent.SystemMessageEventData
Returns the value of the name record component.
name() - Method in record class com.github.copilot.sdk.json.ToolDefinition
Returns the value of the name record component.
namespacedName() - Method in record class com.github.copilot.sdk.generated.rpc.ToolsListResult.ToolsListResultToolsItem
Returns the value of the namespacedName record component.
NEEDS_AUTH - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionMcpListResult.SessionMcpListResultServersItem.SessionMcpListResultServersItemStatus
The needs-auth variant.
NEEDS_AUTH - Enum constant in enum class com.github.copilot.sdk.generated.SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData.SessionMcpServersLoadedEventDataServersItem.SessionMcpServersLoadedEventDataServersItemStatus
The needs-auth variant.
NEEDS_AUTH - Enum constant in enum class com.github.copilot.sdk.generated.SessionMcpServerStatusChangedEvent.SessionMcpServerStatusChangedEventData.SessionMcpServerStatusChangedEventDataStatus
The needs-auth variant.
newMode() - Method in record class com.github.copilot.sdk.generated.SessionModeChangedEvent.SessionModeChangedEventData
Returns the value of the newMode record component.
newModel() - Method in record class com.github.copilot.sdk.generated.SessionModelChangeEvent.SessionModelChangeEventData
Returns the value of the newModel record component.
NO_RESULT - Static variable in class com.github.copilot.sdk.json.PermissionRequestResultKind
Leaves the pending permission request unanswered.
NOT_CONFIGURED - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionMcpListResult.SessionMcpListResultServersItem.SessionMcpListResultServersItemStatus
The not_configured variant.
NOT_CONFIGURED - Enum constant in enum class com.github.copilot.sdk.generated.SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData.SessionMcpServersLoadedEventDataServersItem.SessionMcpServersLoadedEventDataServersItemStatus
The not_configured variant.
NOT_CONFIGURED - Enum constant in enum class com.github.copilot.sdk.generated.SessionMcpServerStatusChangedEvent.SessionMcpServerStatusChangedEventData.SessionMcpServerStatusChangedEventDataStatus
The not_configured variant.

O

on(Class<T>, Consumer<T>) - Method in class com.github.copilot.sdk.CopilotSession
Registers an event handler for a specific event type.
on(Consumer<SessionEvent>) - Method in class com.github.copilot.sdk.CopilotSession
Registers a callback for all session events.
onLifecycle(SessionLifecycleHandler) - Method in class com.github.copilot.sdk.CopilotClient
Subscribes to all session lifecycle events.
onLifecycle(String, SessionLifecycleHandler) - Method in class com.github.copilot.sdk.CopilotClient
Subscribes to a specific session lifecycle event type.
onLifecycleEvent(SessionLifecycleEvent) - Method in interface com.github.copilot.sdk.json.SessionLifecycleHandler
Called when a session lifecycle event occurs.
operation() - Method in record class com.github.copilot.sdk.generated.SessionPlanChangedEvent.SessionPlanChangedEventData
Returns the value of the operation record component.
operation() - Method in record class com.github.copilot.sdk.generated.SessionWorkspaceFileChangedEvent.SessionWorkspaceFileChangedEventData
Returns the value of the operation record component.
output() - Method in record class com.github.copilot.sdk.generated.HookEndEvent.HookEndEventData
Returns the value of the output record component.
output() - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData.SessionCompactionCompleteEventDataCompactionTokensUsed
Returns the value of the output record component.
outputTokens() - Method in record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData
Returns the value of the outputTokens record component.
outputTokens() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData
Returns the value of the outputTokens record component.
outputTokens() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.SessionUsageGetMetricsResultModelMetricsValue.SessionUsageGetMetricsResultModelMetricsValueUsage
Returns the value of the outputTokens record component.
outputTokens() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataModelMetricsValue.SessionShutdownEventDataModelMetricsValueUsage
Returns the value of the outputTokens record component.
overage() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataQuotaSnapshotsValue
Returns the value of the overage record component.
overage() - Method in record class com.github.copilot.sdk.generated.rpc.AccountGetQuotaResult.AccountGetQuotaResultQuotaSnapshotsValue
Returns the value of the overage record component.
overageAllowedWithExhaustedQuota() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataQuotaSnapshotsValue
Returns the value of the overageAllowedWithExhaustedQuota record component.
overageAllowedWithExhaustedQuota() - Method in record class com.github.copilot.sdk.generated.rpc.AccountGetQuotaResult.AccountGetQuotaResultQuotaSnapshotsValue
Returns the value of the overageAllowedWithExhaustedQuota record component.
overridesBuiltInTool() - Method in record class com.github.copilot.sdk.json.ToolDefinition
Returns the value of the overridesBuiltInTool record component.
owner() - Method in record class com.github.copilot.sdk.generated.SessionHandoffEvent.SessionHandoffEventData.SessionHandoffEventDataRepository
Returns the value of the owner record component.

P

parameters() - Method in record class com.github.copilot.sdk.generated.rpc.ToolsListResult.ToolsListResultToolsItem
Returns the value of the parameters record component.
parameters() - Method in record class com.github.copilot.sdk.json.ToolDefinition
Returns the value of the parameters record component.
parentToolCallId() - Method in record class com.github.copilot.sdk.generated.AssistantMessageDeltaEvent.AssistantMessageDeltaEventData
Returns the value of the parentToolCallId record component.
parentToolCallId() - Method in record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData
Returns the value of the parentToolCallId record component.
parentToolCallId() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData
Returns the value of the parentToolCallId record component.
parentToolCallId() - Method in record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData
Returns the value of the parentToolCallId record component.
parentToolCallId() - Method in record class com.github.copilot.sdk.generated.ToolExecutionStartEvent.ToolExecutionStartEventData
Returns the value of the parentToolCallId record component.
partialOutput() - Method in record class com.github.copilot.sdk.generated.ToolExecutionPartialResultEvent.ToolExecutionPartialResultEventData
Returns the value of the partialOutput record component.
path() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsAppendFileParams
Returns the value of the path record component.
path() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsExistsParams
Returns the value of the path record component.
path() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsMkdirParams
Returns the value of the path record component.
path() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReaddirParams
Returns the value of the path record component.
path() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReaddirWithTypesParams
Returns the value of the path record component.
path() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReadFileParams
Returns the value of the path record component.
path() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsRmParams
Returns the value of the path record component.
path() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsStatParams
Returns the value of the path record component.
path() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsWriteFileParams
Returns the value of the path record component.
path() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPlanReadResult
Returns the value of the path record component.
path() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsListResult.SessionSkillsListResultSkillsItem
Returns the value of the path record component.
path() - Method in record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceCreateFileParams
Returns the value of the path record component.
path() - Method in record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceReadFileParams
Returns the value of the path record component.
path() - Method in record class com.github.copilot.sdk.generated.SessionSkillsLoadedEvent.SessionSkillsLoadedEventData.SessionSkillsLoadedEventDataSkillsItem
Returns the value of the path record component.
path() - Method in record class com.github.copilot.sdk.generated.SessionWorkspaceFileChangedEvent.SessionWorkspaceFileChangedEventData
Returns the value of the path record component.
path() - Method in record class com.github.copilot.sdk.generated.SkillInvokedEvent.SkillInvokedEventData
Returns the value of the path record component.
path() - Method in record class com.github.copilot.sdk.json.Attachment
Returns the value of the path record component.
PENDING - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionMcpListResult.SessionMcpListResultServersItem.SessionMcpListResultServersItemStatus
The pending variant.
PENDING - Enum constant in enum class com.github.copilot.sdk.generated.SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData.SessionMcpServersLoadedEventDataServersItem.SessionMcpServersLoadedEventDataServersItemStatus
The pending variant.
PENDING - Enum constant in enum class com.github.copilot.sdk.generated.SessionMcpServerStatusChangedEvent.SessionMcpServerStatusChangedEventData.SessionMcpServerStatusChangedEventDataStatus
The pending variant.
PendingMessagesModifiedEvent - Class in com.github.copilot.sdk.generated
The pending_messages.modified session event.
PendingMessagesModifiedEvent() - Constructor for class com.github.copilot.sdk.generated.PendingMessagesModifiedEvent
 
PendingMessagesModifiedEvent.PendingMessagesModifiedEventData - Record Class in com.github.copilot.sdk.generated
PendingMessagesModifiedEventData() - Constructor for record class com.github.copilot.sdk.generated.PendingMessagesModifiedEvent.PendingMessagesModifiedEventData
Creates an instance of a PendingMessagesModifiedEventData record class.
performedBy() - Method in record class com.github.copilot.sdk.generated.SessionTruncationEvent.SessionTruncationEventData
Returns the value of the performedBy record component.
PermissionCompletedEvent - Class in com.github.copilot.sdk.generated
The permission.completed session event.
PermissionCompletedEvent() - Constructor for class com.github.copilot.sdk.generated.PermissionCompletedEvent
 
PermissionCompletedEvent.PermissionCompletedEventData - Record Class in com.github.copilot.sdk.generated
Data payload for PermissionCompletedEvent.
PermissionCompletedEvent.PermissionCompletedEventData.PermissionCompletedEventDataResult - Record Class in com.github.copilot.sdk.generated
The result of the permission request
PermissionCompletedEvent.PermissionCompletedEventData.PermissionCompletedEventDataResult.PermissionCompletedEventDataResultKind - Enum Class in com.github.copilot.sdk.generated
The outcome of the permission request
PermissionCompletedEventData(String, PermissionCompletedEvent.PermissionCompletedEventData.PermissionCompletedEventDataResult) - Constructor for record class com.github.copilot.sdk.generated.PermissionCompletedEvent.PermissionCompletedEventData
Creates an instance of a PermissionCompletedEventData record class.
PermissionCompletedEventDataResult(PermissionCompletedEvent.PermissionCompletedEventData.PermissionCompletedEventDataResult.PermissionCompletedEventDataResultKind) - Constructor for record class com.github.copilot.sdk.generated.PermissionCompletedEvent.PermissionCompletedEventData.PermissionCompletedEventDataResult
Creates an instance of a PermissionCompletedEventDataResult record class.
permissionDecision() - Method in record class com.github.copilot.sdk.json.PreToolUseHookOutput
Returns the value of the permissionDecision record component.
permissionDecisionReason() - Method in record class com.github.copilot.sdk.json.PreToolUseHookOutput
Returns the value of the permissionDecisionReason record component.
PermissionHandler - Interface in com.github.copilot.sdk.json
Functional interface for handling permission requests from the AI assistant.
PermissionInvocation - Class in com.github.copilot.sdk.json
Context information for a permission request invocation.
PermissionInvocation() - Constructor for class com.github.copilot.sdk.json.PermissionInvocation
 
permissionRequest() - Method in record class com.github.copilot.sdk.generated.PermissionRequestedEvent.PermissionRequestedEventData
Returns the value of the permissionRequest record component.
PermissionRequest - Class in com.github.copilot.sdk.json
Represents a permission request from the AI assistant.
PermissionRequest() - Constructor for class com.github.copilot.sdk.json.PermissionRequest
 
PermissionRequestedEvent - Class in com.github.copilot.sdk.generated
The permission.requested session event.
PermissionRequestedEvent() - Constructor for class com.github.copilot.sdk.generated.PermissionRequestedEvent
 
PermissionRequestedEvent.PermissionRequestedEventData - Record Class in com.github.copilot.sdk.generated
Data payload for PermissionRequestedEvent.
PermissionRequestedEventData(String, Object, Boolean) - Constructor for record class com.github.copilot.sdk.generated.PermissionRequestedEvent.PermissionRequestedEventData
Creates an instance of a PermissionRequestedEventData record class.
PermissionRequestResult - Class in com.github.copilot.sdk.json
Result of a permission request decision.
PermissionRequestResult() - Constructor for class com.github.copilot.sdk.json.PermissionRequestResult
 
PermissionRequestResultKind - Class in com.github.copilot.sdk.json
Describes the outcome kind of a permission request result.
PermissionRequestResultKind(String) - Constructor for class com.github.copilot.sdk.json.PermissionRequestResultKind
Creates a new PermissionRequestResultKind with the given string value.
permissions - Variable in class com.github.copilot.sdk.generated.rpc.SessionRpc
API methods for the permissions namespace.
phase() - Method in record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData
Returns the value of the phase record component.
pid() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult.SessionExtensionsListResultExtensionsItem
Returns the value of the pid record component.
ping(PingParams) - Method in class com.github.copilot.sdk.generated.rpc.ServerRpc
Invokes ping.
ping(String) - Method in class com.github.copilot.sdk.CopilotClient
Pings the server to check connectivity.
PingParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the ping RPC method.
PingParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.PingParams
Creates an instance of a PingParams record class.
PingResponse - Record Class in com.github.copilot.sdk.json
Response from a ping request to the Copilot CLI server.
PingResponse(String, long, Integer) - Constructor for record class com.github.copilot.sdk.json.PingResponse
Creates an instance of a PingResponse record class.
PingResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the ping RPC method.
PingResult(String, Double, Double) - Constructor for record class com.github.copilot.sdk.generated.rpc.PingResult
Creates an instance of a PingResult record class.
plan - Variable in class com.github.copilot.sdk.generated.rpc.SessionRpc
API methods for the plan namespace.
PLAN - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionModeGetResult.SessionModeGetResultMode
The plan variant.
PLAN - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionModeSetParams.SessionModeSetParamsMode
The plan variant.
PLAN - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionModeSetResult.SessionModeSetResultMode
The plan variant.
PLAN - Enum constant in enum class com.github.copilot.sdk.generated.UserMessageEvent.UserMessageEventData.UserMessageEventDataAgentMode
The plan variant.
planContent() - Method in record class com.github.copilot.sdk.generated.ExitPlanModeRequestedEvent.ExitPlanModeRequestedEventData
Returns the value of the planContent record component.
PLUGIN - Enum constant in enum class com.github.copilot.sdk.generated.rpc.McpDiscoverResult.McpDiscoverResultServersItem.McpDiscoverResultServersItemSource
The plugin variant.
pluginName() - Method in record class com.github.copilot.sdk.generated.SkillInvokedEvent.SkillInvokedEventData
Returns the value of the pluginName record component.
plugins - Variable in class com.github.copilot.sdk.generated.rpc.SessionRpc
API methods for the plugins namespace.
plugins() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPluginsListResult
Returns the value of the plugins record component.
pluginVersion() - Method in record class com.github.copilot.sdk.generated.SkillInvokedEvent.SkillInvokedEventData
Returns the value of the pluginVersion record component.
policy() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem
Returns the value of the policy record component.
POSIX - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionFsSetProviderParams.SessionFsSetProviderParamsConventions
The posix variant.
postCompactionTokens() - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData
Returns the value of the postCompactionTokens record component.
PostToolUseHandler - Interface in com.github.copilot.sdk.json
Handler for post-tool-use hooks.
PostToolUseHookInput - Class in com.github.copilot.sdk.json
Input for a post-tool-use hook.
PostToolUseHookInput() - Constructor for class com.github.copilot.sdk.json.PostToolUseHookInput
 
PostToolUseHookOutput - Record Class in com.github.copilot.sdk.json
Output for a post-tool-use hook.
PostToolUseHookOutput(JsonNode, String, Boolean) - Constructor for record class com.github.copilot.sdk.json.PostToolUseHookOutput
Creates an instance of a PostToolUseHookOutput record class.
postTruncationMessagesLength() - Method in record class com.github.copilot.sdk.generated.SessionTruncationEvent.SessionTruncationEventData
Returns the value of the postTruncationMessagesLength record component.
postTruncationTokensInMessages() - Method in record class com.github.copilot.sdk.generated.SessionTruncationEvent.SessionTruncationEventData
Returns the value of the postTruncationTokensInMessages record component.
preCompactionMessagesLength() - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData
Returns the value of the preCompactionMessagesLength record component.
preCompactionTokens() - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData
Returns the value of the preCompactionTokens record component.
PREPEND - Enum constant in enum class com.github.copilot.sdk.json.SectionOverrideAction
Prepend content before the existing section.
PreToolUseHandler - Interface in com.github.copilot.sdk.json
Handler for pre-tool-use hooks.
PreToolUseHookInput - Class in com.github.copilot.sdk.json
Input for a pre-tool-use hook.
PreToolUseHookInput() - Constructor for class com.github.copilot.sdk.json.PreToolUseHookInput
 
PreToolUseHookOutput - Record Class in com.github.copilot.sdk.json
Output for a pre-tool-use hook.
PreToolUseHookOutput(String, String, JsonNode, String, Boolean) - Constructor for record class com.github.copilot.sdk.json.PreToolUseHookOutput
Creates an instance of a PreToolUseHookOutput record class.
preTruncationMessagesLength() - Method in record class com.github.copilot.sdk.generated.SessionTruncationEvent.SessionTruncationEventData
Returns the value of the preTruncationMessagesLength record component.
preTruncationTokensInMessages() - Method in record class com.github.copilot.sdk.generated.SessionTruncationEvent.SessionTruncationEventData
Returns the value of the preTruncationTokensInMessages record component.
previousMode() - Method in record class com.github.copilot.sdk.generated.SessionModeChangedEvent.SessionModeChangedEventData
Returns the value of the previousMode record component.
previousModel() - Method in record class com.github.copilot.sdk.generated.SessionModelChangeEvent.SessionModelChangeEventData
Returns the value of the previousModel record component.
previousReasoningEffort() - Method in record class com.github.copilot.sdk.generated.SessionModelChangeEvent.SessionModelChangeEventData
Returns the value of the previousReasoningEffort record component.
processId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionShellExecResult
Returns the value of the processId record component.
processId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionShellKillParams
Returns the value of the processId record component.
producer() - Method in record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData
Returns the value of the producer record component.
progressMessage() - Method in record class com.github.copilot.sdk.generated.ToolExecutionProgressEvent.ToolExecutionProgressEventData
Returns the value of the progressMessage record component.
PROJECT - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult.SessionExtensionsListResultExtensionsItem.SessionExtensionsListResultExtensionsItemSource
The project variant.
PROJECT - Enum constant in enum class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData.SessionExtensionsLoadedEventDataExtensionsItem.SessionExtensionsLoadedEventDataExtensionsItemSource
The project variant.
prompt() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFleetStartParams
Returns the value of the prompt record component.
prompt() - Method in record class com.github.copilot.sdk.json.UserPromptSubmittedHookInput
Returns the value of the prompt record component.
promptVersion() - Method in record class com.github.copilot.sdk.generated.SystemMessageEvent.SystemMessageEventData.SystemMessageEventDataMetadata
Returns the value of the promptVersion record component.
PROPAGATE_AND_LOG_ERRORS - Enum constant in enum class com.github.copilot.sdk.EventErrorPolicy
Propagate errors: log the error and stop dispatch on first listener error (default).
properties() - Method in record class com.github.copilot.sdk.generated.ElicitationRequestedEvent.ElicitationRequestedEventData.ElicitationRequestedEventDataRequestedSchema
Returns the value of the properties record component.
properties() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiElicitationParams.SessionUiElicitationParamsRequestedSchema
Returns the value of the properties record component.
protocolVersion() - Method in record class com.github.copilot.sdk.generated.rpc.PingResult
Returns the value of the protocolVersion record component.
protocolVersion() - Method in record class com.github.copilot.sdk.json.PingResponse
Returns the value of the protocolVersion record component.
providerCallId() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData
Returns the value of the providerCallId record component.
providerCallId() - Method in record class com.github.copilot.sdk.generated.SessionErrorEvent.SessionErrorEventData
Returns the value of the providerCallId record component.
ProviderConfig - Class in com.github.copilot.sdk.json
Configuration for a custom API provider (BYOK - Bring Your Own Key).
ProviderConfig() - Constructor for class com.github.copilot.sdk.json.ProviderConfig
 
publicClient() - Method in record class com.github.copilot.sdk.generated.McpOauthRequiredEvent.McpOauthRequiredEventData.McpOauthRequiredEventDataStaticClientConfig
Returns the value of the publicClient record component.

Q

question() - Method in record class com.github.copilot.sdk.generated.UserInputRequestedEvent.UserInputRequestedEventData
Returns the value of the question record component.
quotaSnapshots() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData
Returns the value of the quotaSnapshots record component.
quotaSnapshots() - Method in record class com.github.copilot.sdk.generated.rpc.AccountGetQuotaResult
Returns the value of the quotaSnapshots record component.

R

read() - Method in class com.github.copilot.sdk.generated.rpc.SessionPlanApi
Invokes session.plan.read.
readFile(SessionWorkspaceReadFileParams) - Method in class com.github.copilot.sdk.generated.rpc.SessionWorkspaceApi
Invokes session.workspace.readFile.
reason() - Method in record class com.github.copilot.sdk.generated.AbortEvent.AbortEventData
Returns the value of the reason record component.
reason() - Method in record class com.github.copilot.sdk.json.SessionEndHookInput
Returns the value of the reason record component.
reasoningEffort() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData
Returns the value of the reasoningEffort record component.
reasoningEffort() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities.ModelsListResultModelsItemCapabilitiesSupports
Returns the value of the reasoningEffort record component.
reasoningEffort() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams
Returns the value of the reasoningEffort record component.
reasoningEffort() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities.SessionModelSwitchToParamsModelCapabilitiesSupports
Returns the value of the reasoningEffort record component.
reasoningEffort() - Method in record class com.github.copilot.sdk.generated.SessionModelChangeEvent.SessionModelChangeEventData
Returns the value of the reasoningEffort record component.
reasoningEffort() - Method in record class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData
Returns the value of the reasoningEffort record component.
reasoningEffort() - Method in record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData
Returns the value of the reasoningEffort record component.
reasoningId() - Method in record class com.github.copilot.sdk.generated.AssistantReasoningDeltaEvent.AssistantReasoningDeltaEventData
Returns the value of the reasoningId record component.
reasoningId() - Method in record class com.github.copilot.sdk.generated.AssistantReasoningEvent.AssistantReasoningEventData
Returns the value of the reasoningId record component.
reasoningOpaque() - Method in record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData
Returns the value of the reasoningOpaque record component.
reasoningText() - Method in record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData
Returns the value of the reasoningText record component.
reasoningTokens() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData
Returns the value of the reasoningTokens record component.
reasoningTokens() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.SessionUsageGetMetricsResultModelMetricsValue.SessionUsageGetMetricsResultModelMetricsValueUsage
Returns the value of the reasoningTokens record component.
reasoningTokens() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataModelMetricsValue.SessionShutdownEventDataModelMetricsValueUsage
Returns the value of the reasoningTokens record component.
recommendedAction() - Method in record class com.github.copilot.sdk.generated.ExitPlanModeRequestedEvent.ExitPlanModeRequestedEventData
Returns the value of the recommendedAction record component.
recursive() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsMkdirParams
Returns the value of the recursive record component.
recursive() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsRmParams
Returns the value of the recursive record component.
reload() - Method in class com.github.copilot.sdk.generated.rpc.SessionAgentApi
Invokes session.agent.reload.
reload() - Method in class com.github.copilot.sdk.generated.rpc.SessionExtensionsApi
Invokes session.extensions.reload.
reload() - Method in class com.github.copilot.sdk.generated.rpc.SessionMcpApi
Invokes session.mcp.reload.
reload() - Method in class com.github.copilot.sdk.generated.rpc.SessionSkillsApi
Invokes session.skills.reload.
remainingPercentage() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataQuotaSnapshotsValue
Returns the value of the remainingPercentage record component.
remainingPercentage() - Method in record class com.github.copilot.sdk.generated.rpc.AccountGetQuotaResult.AccountGetQuotaResultQuotaSnapshotsValue
Returns the value of the remainingPercentage record component.
REMOTE - Enum constant in enum class com.github.copilot.sdk.generated.SessionHandoffEvent.SessionHandoffEventData.SessionHandoffEventDataSourceType
The remote variant.
remoteSessionId() - Method in record class com.github.copilot.sdk.generated.SessionHandoffEvent.SessionHandoffEventData
Returns the value of the remoteSessionId record component.
remoteSteerable() - Method in record class com.github.copilot.sdk.generated.SessionRemoteSteerableChangedEvent.SessionRemoteSteerableChangedEventData
Returns the value of the remoteSteerable record component.
remoteSteerable() - Method in record class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData
Returns the value of the remoteSteerable record component.
remoteSteerable() - Method in record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData
Returns the value of the remoteSteerable record component.
remove(McpConfigRemoveParams) - Method in class com.github.copilot.sdk.generated.rpc.ServerMcpConfigApi
Invokes mcp.config.remove.
REMOVE - Enum constant in enum class com.github.copilot.sdk.json.SectionOverrideAction
Remove the section from the prompt.
REPLACE - Enum constant in enum class com.github.copilot.sdk.json.SectionOverrideAction
Replace the section content entirely.
REPLACE - Enum constant in enum class com.github.copilot.sdk.SystemMessageMode
Replace the default system message entirely with the custom content.
repository() - Method in record class com.github.copilot.sdk.generated.SessionContextChangedEvent.SessionContextChangedEventData
Returns the value of the repository record component.
repository() - Method in record class com.github.copilot.sdk.generated.SessionHandoffEvent.SessionHandoffEventData
Returns the value of the repository record component.
repository() - Method in record class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData.SessionResumeEventDataContext
Returns the value of the repository record component.
repository() - Method in record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData.SessionStartEventDataContext
Returns the value of the repository record component.
requestedSchema() - Method in record class com.github.copilot.sdk.generated.ElicitationRequestedEvent.ElicitationRequestedEventData
Returns the value of the requestedSchema record component.
requestedSchema() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiElicitationParams
Returns the value of the requestedSchema record component.
requestId() - Method in record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData
Returns the value of the requestId record component.
requestId() - Method in record class com.github.copilot.sdk.generated.CommandCompletedEvent.CommandCompletedEventData
Returns the value of the requestId record component.
requestId() - Method in record class com.github.copilot.sdk.generated.CommandExecuteEvent.CommandExecuteEventData
Returns the value of the requestId record component.
requestId() - Method in record class com.github.copilot.sdk.generated.CommandQueuedEvent.CommandQueuedEventData
Returns the value of the requestId record component.
requestId() - Method in record class com.github.copilot.sdk.generated.ElicitationCompletedEvent.ElicitationCompletedEventData
Returns the value of the requestId record component.
requestId() - Method in record class com.github.copilot.sdk.generated.ElicitationRequestedEvent.ElicitationRequestedEventData
Returns the value of the requestId record component.
requestId() - Method in record class com.github.copilot.sdk.generated.ExitPlanModeCompletedEvent.ExitPlanModeCompletedEventData
Returns the value of the requestId record component.
requestId() - Method in record class com.github.copilot.sdk.generated.ExitPlanModeRequestedEvent.ExitPlanModeRequestedEventData
Returns the value of the requestId record component.
requestId() - Method in record class com.github.copilot.sdk.generated.ExternalToolCompletedEvent.ExternalToolCompletedEventData
Returns the value of the requestId record component.
requestId() - Method in record class com.github.copilot.sdk.generated.ExternalToolRequestedEvent.ExternalToolRequestedEventData
Returns the value of the requestId record component.
requestId() - Method in record class com.github.copilot.sdk.generated.McpOauthCompletedEvent.McpOauthCompletedEventData
Returns the value of the requestId record component.
requestId() - Method in record class com.github.copilot.sdk.generated.McpOauthRequiredEvent.McpOauthRequiredEventData
Returns the value of the requestId record component.
requestId() - Method in record class com.github.copilot.sdk.generated.PermissionCompletedEvent.PermissionCompletedEventData
Returns the value of the requestId record component.
requestId() - Method in record class com.github.copilot.sdk.generated.PermissionRequestedEvent.PermissionRequestedEventData
Returns the value of the requestId record component.
requestId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionCommandsHandlePendingCommandParams
Returns the value of the requestId record component.
requestId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPermissionsHandlePendingPermissionRequestParams
Returns the value of the requestId record component.
requestId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionToolsHandlePendingToolCallParams
Returns the value of the requestId record component.
requestId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiHandlePendingElicitationParams
Returns the value of the requestId record component.
requestId() - Method in record class com.github.copilot.sdk.generated.SamplingCompletedEvent.SamplingCompletedEventData
Returns the value of the requestId record component.
requestId() - Method in record class com.github.copilot.sdk.generated.SamplingRequestedEvent.SamplingRequestedEventData
Returns the value of the requestId record component.
requestId() - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData
Returns the value of the requestId record component.
requestId() - Method in record class com.github.copilot.sdk.generated.UserInputCompletedEvent.UserInputCompletedEventData
Returns the value of the requestId record component.
requestId() - Method in record class com.github.copilot.sdk.generated.UserInputRequestedEvent.UserInputRequestedEventData
Returns the value of the requestId record component.
requests() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.SessionUsageGetMetricsResultModelMetricsValue
Returns the value of the requests record component.
requests() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataModelMetricsValue
Returns the value of the requests record component.
required() - Method in record class com.github.copilot.sdk.generated.ElicitationRequestedEvent.ElicitationRequestedEventData.ElicitationRequestedEventDataRequestedSchema
Returns the value of the required record component.
required() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiElicitationParams.SessionUiElicitationParamsRequestedSchema
Returns the value of the required record component.
resetDate() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataQuotaSnapshotsValue
Returns the value of the resetDate record component.
resetDate() - Method in record class com.github.copilot.sdk.generated.rpc.AccountGetQuotaResult.AccountGetQuotaResultQuotaSnapshotsValue
Returns the value of the resetDate record component.
resolvedByHook() - Method in record class com.github.copilot.sdk.generated.PermissionRequestedEvent.PermissionRequestedEventData
Returns the value of the resolvedByHook record component.
result() - Method in record class com.github.copilot.sdk.generated.PermissionCompletedEvent.PermissionCompletedEventData
Returns the value of the result record component.
result() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPermissionsHandlePendingPermissionRequestParams
Returns the value of the result record component.
result() - Method in record class com.github.copilot.sdk.generated.rpc.SessionToolsHandlePendingToolCallParams
Returns the value of the result record component.
result() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiHandlePendingElicitationParams
Returns the value of the result record component.
result() - Method in record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData
Returns the value of the result record component.
resultType() - Method in record class com.github.copilot.sdk.json.ToolResultObject
Returns the value of the resultType record component.
resumeSession(String, ResumeSessionConfig) - Method in class com.github.copilot.sdk.CopilotClient
Resumes an existing Copilot session.
ResumeSessionConfig - Class in com.github.copilot.sdk.json
Configuration for resuming an existing Copilot session.
ResumeSessionConfig() - Constructor for class com.github.copilot.sdk.json.ResumeSessionConfig
 
ResumeSessionRequest - Class in com.github.copilot.sdk.json
Internal request object for resuming an existing session.
ResumeSessionRequest() - Constructor for class com.github.copilot.sdk.json.ResumeSessionRequest
 
ResumeSessionResponse - Record Class in com.github.copilot.sdk.json
Internal response object from resuming a session.
ResumeSessionResponse(String, String, SessionCapabilities) - Constructor for record class com.github.copilot.sdk.json.ResumeSessionResponse
Creates an instance of a ResumeSessionResponse record class.
resumeTime() - Method in record class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData
Returns the value of the resumeTime record component.
role() - Method in record class com.github.copilot.sdk.generated.SystemMessageEvent.SystemMessageEventData
Returns the value of the role record component.
ROUTINE - Enum constant in enum class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataShutdownType
The routine variant.
RpcCaller - Interface in com.github.copilot.sdk.generated.rpc
Interface for invoking JSON-RPC methods with typed responses.
RUNNING - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult.SessionExtensionsListResultExtensionsItem.SessionExtensionsListResultExtensionsItemStatus
The running variant.
RUNNING - Enum constant in enum class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData.SessionExtensionsLoadedEventDataExtensionsItem.SessionExtensionsLoadedEventDataExtensionsItemStatus
The running variant.

S

SAFETY - Static variable in class com.github.copilot.sdk.json.SystemPromptSections
Environment limitations, prohibited actions, security policies.
SamplingCompletedEvent - Class in com.github.copilot.sdk.generated
The sampling.completed session event.
SamplingCompletedEvent() - Constructor for class com.github.copilot.sdk.generated.SamplingCompletedEvent
 
SamplingCompletedEvent.SamplingCompletedEventData - Record Class in com.github.copilot.sdk.generated
Data payload for SamplingCompletedEvent.
SamplingCompletedEventData(String) - Constructor for record class com.github.copilot.sdk.generated.SamplingCompletedEvent.SamplingCompletedEventData
Creates an instance of a SamplingCompletedEventData record class.
SamplingRequestedEvent - Class in com.github.copilot.sdk.generated
The sampling.requested session event.
SamplingRequestedEvent() - Constructor for class com.github.copilot.sdk.generated.SamplingRequestedEvent
 
SamplingRequestedEvent.SamplingRequestedEventData - Record Class in com.github.copilot.sdk.generated
Data payload for SamplingRequestedEvent.
SamplingRequestedEventData(String, String, Object) - Constructor for record class com.github.copilot.sdk.generated.SamplingRequestedEvent.SamplingRequestedEventData
Creates an instance of a SamplingRequestedEventData record class.
SdkProtocolVersion - Enum Class in com.github.copilot.sdk
Provides the SDK protocol version.
SectionOverride - Class in com.github.copilot.sdk.json
Override operation for a single system prompt section in SystemMessageMode#CUSTOMIZE mode.
SectionOverride() - Constructor for class com.github.copilot.sdk.json.SectionOverride
 
SectionOverrideAction - Enum Class in com.github.copilot.sdk.json
Specifies the operation to perform on a system prompt section in SystemMessageMode#CUSTOMIZE mode.
select(SessionAgentSelectParams) - Method in class com.github.copilot.sdk.generated.rpc.SessionAgentApi
Invokes session.agent.select.
select(String, String[]) - Method in interface com.github.copilot.sdk.json.SessionUiApi
Shows a selection dialog with the given options.
selectAgent(String) - Method in class com.github.copilot.sdk.CopilotSession
Selects a custom agent for this session.
selectedAction() - Method in record class com.github.copilot.sdk.generated.ExitPlanModeCompletedEvent.ExitPlanModeCompletedEventData
Returns the value of the selectedAction record component.
selectedModel() - Method in record class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData
Returns the value of the selectedModel record component.
selectedModel() - Method in record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData
Returns the value of the selectedModel record component.
send(MessageOptions) - Method in class com.github.copilot.sdk.CopilotSession
Sends a message to the Copilot session.
send(String) - Method in class com.github.copilot.sdk.CopilotSession
Sends a simple text message to the Copilot session.
sendAndWait(MessageOptions) - Method in class com.github.copilot.sdk.CopilotSession
Sends a message and waits until the session becomes idle with default 60 second timeout.
sendAndWait(MessageOptions, long) - Method in class com.github.copilot.sdk.CopilotSession
Sends a message and waits until the session becomes idle.
sendAndWait(String) - Method in class com.github.copilot.sdk.CopilotSession
Sends a simple text message and waits until the session becomes idle.
SendMessageRequest - Class in com.github.copilot.sdk.json
Internal request object for sending a message to a session.
SendMessageRequest() - Constructor for class com.github.copilot.sdk.json.SendMessageRequest
 
SendMessageResponse - Record Class in com.github.copilot.sdk.json
Internal response object from sending a message.
SendMessageResponse(String) - Constructor for record class com.github.copilot.sdk.json.SendMessageResponse
Creates an instance of a SendMessageResponse record class.
ServerAccountApi - Class in com.github.copilot.sdk.generated.rpc
API methods for the account namespace.
ServerMcpApi - Class in com.github.copilot.sdk.generated.rpc
API methods for the mcp namespace.
ServerMcpConfigApi - Class in com.github.copilot.sdk.generated.rpc
API methods for the mcp.config namespace.
ServerModelsApi - Class in com.github.copilot.sdk.generated.rpc
API methods for the models namespace.
serverName() - Method in record class com.github.copilot.sdk.generated.McpOauthRequiredEvent.McpOauthRequiredEventData
Returns the value of the serverName record component.
serverName() - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpDisableParams
Returns the value of the serverName record component.
serverName() - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpEnableParams
Returns the value of the serverName record component.
serverName() - Method in record class com.github.copilot.sdk.generated.SamplingRequestedEvent.SamplingRequestedEventData
Returns the value of the serverName record component.
serverName() - Method in record class com.github.copilot.sdk.generated.SessionMcpServerStatusChangedEvent.SessionMcpServerStatusChangedEventData
Returns the value of the serverName record component.
ServerRpc - Class in com.github.copilot.sdk.generated.rpc
Typed client for server-level RPC methods.
ServerRpc(RpcCaller) - Constructor for class com.github.copilot.sdk.generated.rpc.ServerRpc
Creates a new server RPC client.
servers() - Method in record class com.github.copilot.sdk.generated.rpc.McpConfigListResult
Returns the value of the servers record component.
servers() - Method in record class com.github.copilot.sdk.generated.rpc.McpDiscoverResult
Returns the value of the servers record component.
servers() - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpListResult
Returns the value of the servers record component.
servers() - Method in record class com.github.copilot.sdk.generated.SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData
Returns the value of the servers record component.
ServerSessionFsApi - Class in com.github.copilot.sdk.generated.rpc
API methods for the sessionFs namespace.
ServerSessionsApi - Class in com.github.copilot.sdk.generated.rpc
API methods for the sessions namespace.
ServerToolsApi - Class in com.github.copilot.sdk.generated.rpc
API methods for the tools namespace.
serverUrl() - Method in record class com.github.copilot.sdk.generated.McpOauthRequiredEvent.McpOauthRequiredEventData
Returns the value of the serverUrl record component.
session() - Method in record class com.github.copilot.sdk.json.GetSessionMetadataResponse
Returns the value of the session record component.
SessionAgentApi - Class in com.github.copilot.sdk.generated.rpc
API methods for the agent namespace.
SessionAgentDeselectParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the session.agent.deselect RPC method.
SessionAgentDeselectParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionAgentDeselectParams
Creates an instance of a SessionAgentDeselectParams record class.
SessionAgentDeselectResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the session.agent.deselect RPC method.
SessionAgentDeselectResult() - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionAgentDeselectResult
Creates an instance of a SessionAgentDeselectResult record class.
SessionAgentGetCurrentParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the session.agent.getCurrent RPC method.
SessionAgentGetCurrentParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionAgentGetCurrentParams
Creates an instance of a SessionAgentGetCurrentParams record class.
SessionAgentGetCurrentResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the session.agent.getCurrent RPC method.
SessionAgentGetCurrentResult(SessionAgentGetCurrentResult.SessionAgentGetCurrentResultAgent) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionAgentGetCurrentResult
Creates an instance of a SessionAgentGetCurrentResult record class.
SessionAgentGetCurrentResult.SessionAgentGetCurrentResultAgent - Record Class in com.github.copilot.sdk.generated.rpc
 
SessionAgentGetCurrentResultAgent(String, String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionAgentGetCurrentResult.SessionAgentGetCurrentResultAgent
Creates an instance of a SessionAgentGetCurrentResultAgent record class.
SessionAgentListParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the session.agent.list RPC method.
SessionAgentListParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionAgentListParams
Creates an instance of a SessionAgentListParams record class.
SessionAgentListResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the session.agent.list RPC method.
SessionAgentListResult(List<SessionAgentListResult.SessionAgentListResultAgentsItem>) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionAgentListResult
Creates an instance of a SessionAgentListResult record class.
SessionAgentListResult.SessionAgentListResultAgentsItem - Record Class in com.github.copilot.sdk.generated.rpc
 
SessionAgentListResultAgentsItem(String, String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionAgentListResult.SessionAgentListResultAgentsItem
Creates an instance of a SessionAgentListResultAgentsItem record class.
SessionAgentReloadParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the session.agent.reload RPC method.
SessionAgentReloadParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionAgentReloadParams
Creates an instance of a SessionAgentReloadParams record class.
SessionAgentReloadResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the session.agent.reload RPC method.
SessionAgentReloadResult(List<SessionAgentReloadResult.SessionAgentReloadResultAgentsItem>) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionAgentReloadResult
Creates an instance of a SessionAgentReloadResult record class.
SessionAgentReloadResult.SessionAgentReloadResultAgentsItem - Record Class in com.github.copilot.sdk.generated.rpc
 
SessionAgentReloadResultAgentsItem(String, String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionAgentReloadResult.SessionAgentReloadResultAgentsItem
Creates an instance of a SessionAgentReloadResultAgentsItem record class.
SessionAgentSelectParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the session.agent.select RPC method.
SessionAgentSelectParams(String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionAgentSelectParams
Creates an instance of a SessionAgentSelectParams record class.
SessionAgentSelectResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the session.agent.select RPC method.
SessionAgentSelectResult(SessionAgentSelectResult.SessionAgentSelectResultAgent) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionAgentSelectResult
Creates an instance of a SessionAgentSelectResult record class.
SessionAgentSelectResult.SessionAgentSelectResultAgent - Record Class in com.github.copilot.sdk.generated.rpc
The newly selected custom agent
SessionAgentSelectResultAgent(String, String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionAgentSelectResult.SessionAgentSelectResultAgent
Creates an instance of a SessionAgentSelectResultAgent record class.
SessionBackgroundTasksChangedEvent - Class in com.github.copilot.sdk.generated
The session.background_tasks_changed session event.
SessionBackgroundTasksChangedEvent() - Constructor for class com.github.copilot.sdk.generated.SessionBackgroundTasksChangedEvent
 
SessionBackgroundTasksChangedEvent.SessionBackgroundTasksChangedEventData - Record Class in com.github.copilot.sdk.generated
SessionBackgroundTasksChangedEventData() - Constructor for record class com.github.copilot.sdk.generated.SessionBackgroundTasksChangedEvent.SessionBackgroundTasksChangedEventData
Creates an instance of a SessionBackgroundTasksChangedEventData record class.
SessionCapabilities - Class in com.github.copilot.sdk.json
Represents the capabilities reported by the host for a session.
SessionCapabilities() - Constructor for class com.github.copilot.sdk.json.SessionCapabilities
 
SessionCommandsApi - Class in com.github.copilot.sdk.generated.rpc
API methods for the commands namespace.
SessionCommandsHandlePendingCommandParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the session.commands.handlePendingCommand RPC method.
SessionCommandsHandlePendingCommandParams(String, String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionCommandsHandlePendingCommandParams
Creates an instance of a SessionCommandsHandlePendingCommandParams record class.
SessionCommandsHandlePendingCommandResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the session.commands.handlePendingCommand RPC method.
SessionCommandsHandlePendingCommandResult(Boolean) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionCommandsHandlePendingCommandResult
Creates an instance of a SessionCommandsHandlePendingCommandResult record class.
SessionCompactionCompleteEvent - Class in com.github.copilot.sdk.generated
The session.compaction_complete session event.
SessionCompactionCompleteEvent() - Constructor for class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent
 
SessionCompactionCompleteEvent.SessionCompactionCompleteEventData - Record Class in com.github.copilot.sdk.generated
SessionCompactionCompleteEvent.SessionCompactionCompleteEventData.SessionCompactionCompleteEventDataCompactionTokensUsed - Record Class in com.github.copilot.sdk.generated
Token usage breakdown for the compaction LLM call
SessionCompactionCompleteEventData(Boolean, String, Double, Double, Double, Double, Double, String, Double, String, SessionCompactionCompleteEvent.SessionCompactionCompleteEventData.SessionCompactionCompleteEventDataCompactionTokensUsed, String, Double, Double, Double) - Constructor for record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData
Creates an instance of a SessionCompactionCompleteEventData record class.
SessionCompactionCompleteEventDataCompactionTokensUsed(Double, Double, Double) - Constructor for record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData.SessionCompactionCompleteEventDataCompactionTokensUsed
Creates an instance of a SessionCompactionCompleteEventDataCompactionTokensUsed record class.
SessionCompactionStartEvent - Class in com.github.copilot.sdk.generated
The session.compaction_start session event.
SessionCompactionStartEvent() - Constructor for class com.github.copilot.sdk.generated.SessionCompactionStartEvent
 
SessionCompactionStartEvent.SessionCompactionStartEventData - Record Class in com.github.copilot.sdk.generated
Data payload for SessionCompactionStartEvent.
SessionCompactionStartEventData(Double, Double, Double) - Constructor for record class com.github.copilot.sdk.generated.SessionCompactionStartEvent.SessionCompactionStartEventData
Creates an instance of a SessionCompactionStartEventData record class.
SessionConfig - Class in com.github.copilot.sdk.json
Configuration for creating a new Copilot session.
SessionConfig() - Constructor for class com.github.copilot.sdk.json.SessionConfig
 
SessionContext - Class in com.github.copilot.sdk.json
Working directory context for a session.
SessionContext() - Constructor for class com.github.copilot.sdk.json.SessionContext
 
SessionContextChangedEvent - Class in com.github.copilot.sdk.generated
The session.context_changed session event.
SessionContextChangedEvent() - Constructor for class com.github.copilot.sdk.generated.SessionContextChangedEvent
 
SessionContextChangedEvent.SessionContextChangedEventData - Record Class in com.github.copilot.sdk.generated
Data payload for SessionContextChangedEvent.
SessionContextChangedEvent.SessionContextChangedEventData.SessionContextChangedEventDataHostType - Enum Class in com.github.copilot.sdk.generated
Hosting platform type of the repository (github or ado)
SessionContextChangedEventData(String, String, String, SessionContextChangedEvent.SessionContextChangedEventData.SessionContextChangedEventDataHostType, String, String, String) - Constructor for record class com.github.copilot.sdk.generated.SessionContextChangedEvent.SessionContextChangedEventData
Creates an instance of a SessionContextChangedEventData record class.
SessionCustomAgentsUpdatedEvent - Class in com.github.copilot.sdk.generated
The session.custom_agents_updated session event.
SessionCustomAgentsUpdatedEvent() - Constructor for class com.github.copilot.sdk.generated.SessionCustomAgentsUpdatedEvent
 
SessionCustomAgentsUpdatedEvent.SessionCustomAgentsUpdatedEventData - Record Class in com.github.copilot.sdk.generated
SessionCustomAgentsUpdatedEvent.SessionCustomAgentsUpdatedEventData.SessionCustomAgentsUpdatedEventDataAgentsItem - Record Class in com.github.copilot.sdk.generated
 
SessionCustomAgentsUpdatedEventData(List<SessionCustomAgentsUpdatedEvent.SessionCustomAgentsUpdatedEventData.SessionCustomAgentsUpdatedEventDataAgentsItem>, List<String>, List<String>) - Constructor for record class com.github.copilot.sdk.generated.SessionCustomAgentsUpdatedEvent.SessionCustomAgentsUpdatedEventData
Creates an instance of a SessionCustomAgentsUpdatedEventData record class.
SessionCustomAgentsUpdatedEventDataAgentsItem(String, String, String, String, String, List<String>, Boolean, String) - Constructor for record class com.github.copilot.sdk.generated.SessionCustomAgentsUpdatedEvent.SessionCustomAgentsUpdatedEventData.SessionCustomAgentsUpdatedEventDataAgentsItem
Creates an instance of a SessionCustomAgentsUpdatedEventDataAgentsItem record class.
SessionEndHandler - Interface in com.github.copilot.sdk.json
Handler for session-end hooks.
SessionEndHookInput - Record Class in com.github.copilot.sdk.json
Input for a session-end hook.
SessionEndHookInput(long, String, String, String, String) - Constructor for record class com.github.copilot.sdk.json.SessionEndHookInput
Creates an instance of a SessionEndHookInput record class.
SessionEndHookOutput - Record Class in com.github.copilot.sdk.json
Output for a session-end hook.
SessionEndHookOutput(Boolean, List<String>, String) - Constructor for record class com.github.copilot.sdk.json.SessionEndHookOutput
Creates an instance of a SessionEndHookOutput record class.
SessionErrorEvent - Class in com.github.copilot.sdk.generated
The session.error session event.
SessionErrorEvent() - Constructor for class com.github.copilot.sdk.generated.SessionErrorEvent
 
SessionErrorEvent.SessionErrorEventData - Record Class in com.github.copilot.sdk.generated
Data payload for SessionErrorEvent.
SessionErrorEventData(String, String, String, Long, String, String) - Constructor for record class com.github.copilot.sdk.generated.SessionErrorEvent.SessionErrorEventData
Creates an instance of a SessionErrorEventData record class.
SessionEvent - Class in com.github.copilot.sdk.generated
Base class for all generated session events.
SessionEvent() - Constructor for class com.github.copilot.sdk.generated.SessionEvent
 
SessionExtensionsApi - Class in com.github.copilot.sdk.generated.rpc
API methods for the extensions namespace.
SessionExtensionsDisableParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the session.extensions.disable RPC method.
SessionExtensionsDisableParams(String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionExtensionsDisableParams
Creates an instance of a SessionExtensionsDisableParams record class.
SessionExtensionsDisableResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the session.extensions.disable RPC method.
SessionExtensionsDisableResult() - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionExtensionsDisableResult
Creates an instance of a SessionExtensionsDisableResult record class.
SessionExtensionsEnableParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the session.extensions.enable RPC method.
SessionExtensionsEnableParams(String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionExtensionsEnableParams
Creates an instance of a SessionExtensionsEnableParams record class.
SessionExtensionsEnableResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the session.extensions.enable RPC method.
SessionExtensionsEnableResult() - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionExtensionsEnableResult
Creates an instance of a SessionExtensionsEnableResult record class.
SessionExtensionsListParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the session.extensions.list RPC method.
SessionExtensionsListParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionExtensionsListParams
Creates an instance of a SessionExtensionsListParams record class.
SessionExtensionsListResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the session.extensions.list RPC method.
SessionExtensionsListResult(List<SessionExtensionsListResult.SessionExtensionsListResultExtensionsItem>) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult
Creates an instance of a SessionExtensionsListResult record class.
SessionExtensionsListResult.SessionExtensionsListResultExtensionsItem - Record Class in com.github.copilot.sdk.generated.rpc
 
SessionExtensionsListResult.SessionExtensionsListResultExtensionsItem.SessionExtensionsListResultExtensionsItemSource - Enum Class in com.github.copilot.sdk.generated.rpc
Discovery source: project (.github/extensions/) or user (~/.copilot/extensions/)
SessionExtensionsListResult.SessionExtensionsListResultExtensionsItem.SessionExtensionsListResultExtensionsItemStatus - Enum Class in com.github.copilot.sdk.generated.rpc
Current status: running, disabled, failed, or starting
SessionExtensionsListResultExtensionsItem(String, String, SessionExtensionsListResult.SessionExtensionsListResultExtensionsItem.SessionExtensionsListResultExtensionsItemSource, SessionExtensionsListResult.SessionExtensionsListResultExtensionsItem.SessionExtensionsListResultExtensionsItemStatus, Long) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult.SessionExtensionsListResultExtensionsItem
Creates an instance of a SessionExtensionsListResultExtensionsItem record class.
SessionExtensionsLoadedEvent - Class in com.github.copilot.sdk.generated
The session.extensions_loaded session event.
SessionExtensionsLoadedEvent() - Constructor for class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent
 
SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData - Record Class in com.github.copilot.sdk.generated
SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData.SessionExtensionsLoadedEventDataExtensionsItem - Record Class in com.github.copilot.sdk.generated
 
SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData.SessionExtensionsLoadedEventDataExtensionsItem.SessionExtensionsLoadedEventDataExtensionsItemSource - Enum Class in com.github.copilot.sdk.generated
Discovery source
SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData.SessionExtensionsLoadedEventDataExtensionsItem.SessionExtensionsLoadedEventDataExtensionsItemStatus - Enum Class in com.github.copilot.sdk.generated
Current status: running, disabled, failed, or starting
SessionExtensionsLoadedEventData(List<SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData.SessionExtensionsLoadedEventDataExtensionsItem>) - Constructor for record class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData
Creates an instance of a SessionExtensionsLoadedEventData record class.
SessionExtensionsLoadedEventDataExtensionsItem(String, String, SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData.SessionExtensionsLoadedEventDataExtensionsItem.SessionExtensionsLoadedEventDataExtensionsItemSource, SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData.SessionExtensionsLoadedEventDataExtensionsItem.SessionExtensionsLoadedEventDataExtensionsItemStatus) - Constructor for record class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData.SessionExtensionsLoadedEventDataExtensionsItem
Creates an instance of a SessionExtensionsLoadedEventDataExtensionsItem record class.
SessionExtensionsReloadParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the session.extensions.reload RPC method.
SessionExtensionsReloadParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionExtensionsReloadParams
Creates an instance of a SessionExtensionsReloadParams record class.
SessionExtensionsReloadResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the session.extensions.reload RPC method.
SessionExtensionsReloadResult() - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionExtensionsReloadResult
Creates an instance of a SessionExtensionsReloadResult record class.
SessionFleetApi - Class in com.github.copilot.sdk.generated.rpc
API methods for the fleet namespace.
SessionFleetStartParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the session.fleet.start RPC method.
SessionFleetStartParams(String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionFleetStartParams
Creates an instance of a SessionFleetStartParams record class.
SessionFleetStartResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the session.fleet.start RPC method.
SessionFleetStartResult(Boolean) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionFleetStartResult
Creates an instance of a SessionFleetStartResult record class.
sessionFs - Variable in class com.github.copilot.sdk.generated.rpc.ServerRpc
API methods for the sessionFs namespace.
SessionFsAppendFileParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the sessionFs.appendFile RPC method.
SessionFsAppendFileParams(String, String, String, Double) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionFsAppendFileParams
Creates an instance of a SessionFsAppendFileParams record class.
SessionFsExistsParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the sessionFs.exists RPC method.
SessionFsExistsParams(String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionFsExistsParams
Creates an instance of a SessionFsExistsParams record class.
SessionFsExistsResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the sessionFs.exists RPC method.
SessionFsExistsResult(Boolean) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionFsExistsResult
Creates an instance of a SessionFsExistsResult record class.
SessionFsMkdirParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the sessionFs.mkdir RPC method.
SessionFsMkdirParams(String, String, Boolean, Double) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionFsMkdirParams
Creates an instance of a SessionFsMkdirParams record class.
SessionFsReaddirParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the sessionFs.readdir RPC method.
SessionFsReaddirParams(String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionFsReaddirParams
Creates an instance of a SessionFsReaddirParams record class.
SessionFsReaddirResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the sessionFs.readdir RPC method.
SessionFsReaddirResult(List<String>) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionFsReaddirResult
Creates an instance of a SessionFsReaddirResult record class.
SessionFsReaddirWithTypesParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the sessionFs.readdirWithTypes RPC method.
SessionFsReaddirWithTypesParams(String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionFsReaddirWithTypesParams
Creates an instance of a SessionFsReaddirWithTypesParams record class.
SessionFsReaddirWithTypesResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the sessionFs.readdirWithTypes RPC method.
SessionFsReaddirWithTypesResult(List<SessionFsReaddirWithTypesResult.SessionFsReaddirWithTypesResultEntriesItem>) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionFsReaddirWithTypesResult
Creates an instance of a SessionFsReaddirWithTypesResult record class.
SessionFsReaddirWithTypesResult.SessionFsReaddirWithTypesResultEntriesItem - Record Class in com.github.copilot.sdk.generated.rpc
 
SessionFsReaddirWithTypesResult.SessionFsReaddirWithTypesResultEntriesItem.SessionFsReaddirWithTypesResultEntriesItemType - Enum Class in com.github.copilot.sdk.generated.rpc
Entry type
SessionFsReaddirWithTypesResultEntriesItem(String, SessionFsReaddirWithTypesResult.SessionFsReaddirWithTypesResultEntriesItem.SessionFsReaddirWithTypesResultEntriesItemType) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionFsReaddirWithTypesResult.SessionFsReaddirWithTypesResultEntriesItem
Creates an instance of a SessionFsReaddirWithTypesResultEntriesItem record class.
SessionFsReadFileParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the sessionFs.readFile RPC method.
SessionFsReadFileParams(String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionFsReadFileParams
Creates an instance of a SessionFsReadFileParams record class.
SessionFsReadFileResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the sessionFs.readFile RPC method.
SessionFsReadFileResult(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionFsReadFileResult
Creates an instance of a SessionFsReadFileResult record class.
SessionFsRenameParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the sessionFs.rename RPC method.
SessionFsRenameParams(String, String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionFsRenameParams
Creates an instance of a SessionFsRenameParams record class.
SessionFsRmParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the sessionFs.rm RPC method.
SessionFsRmParams(String, String, Boolean, Boolean) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionFsRmParams
Creates an instance of a SessionFsRmParams record class.
SessionFsSetProviderParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the sessionFs.setProvider RPC method.
SessionFsSetProviderParams(String, String, SessionFsSetProviderParams.SessionFsSetProviderParamsConventions) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionFsSetProviderParams
Creates an instance of a SessionFsSetProviderParams record class.
SessionFsSetProviderParams.SessionFsSetProviderParamsConventions - Enum Class in com.github.copilot.sdk.generated.rpc
Path conventions used by this filesystem
SessionFsSetProviderResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the sessionFs.setProvider RPC method.
SessionFsSetProviderResult(Boolean) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionFsSetProviderResult
Creates an instance of a SessionFsSetProviderResult record class.
SessionFsStatParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the sessionFs.stat RPC method.
SessionFsStatParams(String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionFsStatParams
Creates an instance of a SessionFsStatParams record class.
SessionFsStatResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the sessionFs.stat RPC method.
SessionFsStatResult(Boolean, Boolean, Double, String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionFsStatResult
Creates an instance of a SessionFsStatResult record class.
SessionFsWriteFileParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the sessionFs.writeFile RPC method.
SessionFsWriteFileParams(String, String, String, Double) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionFsWriteFileParams
Creates an instance of a SessionFsWriteFileParams record class.
SessionHandoffEvent - Class in com.github.copilot.sdk.generated
The session.handoff session event.
SessionHandoffEvent() - Constructor for class com.github.copilot.sdk.generated.SessionHandoffEvent
 
SessionHandoffEvent.SessionHandoffEventData - Record Class in com.github.copilot.sdk.generated
Data payload for SessionHandoffEvent.
SessionHandoffEvent.SessionHandoffEventData.SessionHandoffEventDataRepository - Record Class in com.github.copilot.sdk.generated
Repository context for the handed-off session
SessionHandoffEvent.SessionHandoffEventData.SessionHandoffEventDataSourceType - Enum Class in com.github.copilot.sdk.generated
Origin type of the session being handed off
SessionHandoffEventData(OffsetDateTime, SessionHandoffEvent.SessionHandoffEventData.SessionHandoffEventDataSourceType, SessionHandoffEvent.SessionHandoffEventData.SessionHandoffEventDataRepository, String, String, String, String) - Constructor for record class com.github.copilot.sdk.generated.SessionHandoffEvent.SessionHandoffEventData
Creates an instance of a SessionHandoffEventData record class.
SessionHandoffEventDataRepository(String, String, String) - Constructor for record class com.github.copilot.sdk.generated.SessionHandoffEvent.SessionHandoffEventData.SessionHandoffEventDataRepository
Creates an instance of a SessionHandoffEventDataRepository record class.
SessionHistoryApi - Class in com.github.copilot.sdk.generated.rpc
API methods for the history namespace.
SessionHistoryCompactParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the session.history.compact RPC method.
SessionHistoryCompactParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionHistoryCompactParams
Creates an instance of a SessionHistoryCompactParams record class.
SessionHistoryCompactResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the session.history.compact RPC method.
SessionHistoryCompactResult(Boolean, Double, Double, SessionHistoryCompactResult.SessionHistoryCompactResultContextWindow) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionHistoryCompactResult
Creates an instance of a SessionHistoryCompactResult record class.
SessionHistoryCompactResult.SessionHistoryCompactResultContextWindow - Record Class in com.github.copilot.sdk.generated.rpc
Post-compaction context window usage breakdown
SessionHistoryCompactResultContextWindow(Double, Double, Double, Double, Double, Double) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionHistoryCompactResult.SessionHistoryCompactResultContextWindow
Creates an instance of a SessionHistoryCompactResultContextWindow record class.
SessionHistoryTruncateParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the session.history.truncate RPC method.
SessionHistoryTruncateParams(String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionHistoryTruncateParams
Creates an instance of a SessionHistoryTruncateParams record class.
SessionHistoryTruncateResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the session.history.truncate RPC method.
SessionHistoryTruncateResult(Double) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionHistoryTruncateResult
Creates an instance of a SessionHistoryTruncateResult record class.
SessionHooks - Class in com.github.copilot.sdk.json
Hook handlers configuration for a session.
SessionHooks() - Constructor for class com.github.copilot.sdk.json.SessionHooks
 
sessionId() - Method in record class com.github.copilot.sdk.generated.ExternalToolRequestedEvent.ExternalToolRequestedEventData
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentDeselectParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentGetCurrentParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentListParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentReloadParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentSelectParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionCommandsHandlePendingCommandParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsDisableParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsEnableParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsListParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsReloadParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFleetStartParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsAppendFileParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsExistsParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsMkdirParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReaddirParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReaddirWithTypesParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReadFileParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsRenameParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsRmParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsStatParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsWriteFileParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryCompactParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryTruncateParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionLogParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpDisableParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpEnableParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpListParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpReloadParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModeGetParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelGetCurrentParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModeSetParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPermissionsHandlePendingPermissionRequestParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPlanDeleteParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPlanReadParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPlanUpdateParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPluginsListParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionsForkParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionsForkResult
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionShellExecParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionShellKillParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsDisableParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsEnableParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsListParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsReloadParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionToolsHandlePendingToolCallParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiElicitationParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiHandlePendingElicitationParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceCreateFileParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceListFilesParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceReadFileParams
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.json.CreateSessionResponse
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.json.GetForegroundSessionResponse
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.json.GetLastSessionIdResponse
Returns the value of the sessionId record component.
sessionId() - Method in record class com.github.copilot.sdk.json.ResumeSessionResponse
Returns the value of the sessionId record component.
SessionIdleEvent - Class in com.github.copilot.sdk.generated
The session.idle session event.
SessionIdleEvent() - Constructor for class com.github.copilot.sdk.generated.SessionIdleEvent
 
SessionIdleEvent.SessionIdleEventData - Record Class in com.github.copilot.sdk.generated
Data payload for SessionIdleEvent.
SessionIdleEventData(Boolean) - Constructor for record class com.github.copilot.sdk.generated.SessionIdleEvent.SessionIdleEventData
Creates an instance of a SessionIdleEventData record class.
SessionInfoEvent - Class in com.github.copilot.sdk.generated
The session.info session event.
SessionInfoEvent() - Constructor for class com.github.copilot.sdk.generated.SessionInfoEvent
 
SessionInfoEvent.SessionInfoEventData - Record Class in com.github.copilot.sdk.generated
Data payload for SessionInfoEvent.
SessionInfoEventData(String, String, String) - Constructor for record class com.github.copilot.sdk.generated.SessionInfoEvent.SessionInfoEventData
Creates an instance of a SessionInfoEventData record class.
SessionLifecycleEvent - Class in com.github.copilot.sdk.json
Session lifecycle event notification.
SessionLifecycleEvent() - Constructor for class com.github.copilot.sdk.json.SessionLifecycleEvent
 
SessionLifecycleEventMetadata - Record Class in com.github.copilot.sdk.json
Metadata for session lifecycle events.
SessionLifecycleEventMetadata(String, String, String) - Constructor for record class com.github.copilot.sdk.json.SessionLifecycleEventMetadata
Creates an instance of a SessionLifecycleEventMetadata record class.
SessionLifecycleEventTypes - Class in com.github.copilot.sdk.json
Types of session lifecycle events.
SessionLifecycleHandler - Interface in com.github.copilot.sdk.json
Handler for session lifecycle events.
SessionListFilter - Class in com.github.copilot.sdk.json
Filter options for listing sessions.
SessionListFilter() - Constructor for class com.github.copilot.sdk.json.SessionListFilter
 
sessionLog() - Method in record class com.github.copilot.sdk.json.ToolResultObject
Returns the value of the sessionLog record component.
SessionLogParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the session.log RPC method.
SessionLogParams(String, String, SessionLogParams.SessionLogParamsLevel, Boolean, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionLogParams
Creates an instance of a SessionLogParams record class.
SessionLogParams.SessionLogParamsLevel - Enum Class in com.github.copilot.sdk.generated.rpc
Log severity level.
SessionLogResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the session.log RPC method.
SessionLogResult(UUID) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionLogResult
Creates an instance of a SessionLogResult record class.
SessionMcpApi - Class in com.github.copilot.sdk.generated.rpc
API methods for the mcp namespace.
SessionMcpDisableParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the session.mcp.disable RPC method.
SessionMcpDisableParams(String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionMcpDisableParams
Creates an instance of a SessionMcpDisableParams record class.
SessionMcpDisableResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the session.mcp.disable RPC method.
SessionMcpDisableResult() - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionMcpDisableResult
Creates an instance of a SessionMcpDisableResult record class.
SessionMcpEnableParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the session.mcp.enable RPC method.
SessionMcpEnableParams(String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionMcpEnableParams
Creates an instance of a SessionMcpEnableParams record class.
SessionMcpEnableResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the session.mcp.enable RPC method.
SessionMcpEnableResult() - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionMcpEnableResult
Creates an instance of a SessionMcpEnableResult record class.
SessionMcpListParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the session.mcp.list RPC method.
SessionMcpListParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionMcpListParams
Creates an instance of a SessionMcpListParams record class.
SessionMcpListResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the session.mcp.list RPC method.
SessionMcpListResult(List<SessionMcpListResult.SessionMcpListResultServersItem>) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionMcpListResult
Creates an instance of a SessionMcpListResult record class.
SessionMcpListResult.SessionMcpListResultServersItem - Record Class in com.github.copilot.sdk.generated.rpc
 
SessionMcpListResult.SessionMcpListResultServersItem.SessionMcpListResultServersItemStatus - Enum Class in com.github.copilot.sdk.generated.rpc
Connection status: connected, failed, needs-auth, pending, disabled, or not_configured
SessionMcpListResultServersItem(String, SessionMcpListResult.SessionMcpListResultServersItem.SessionMcpListResultServersItemStatus, String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionMcpListResult.SessionMcpListResultServersItem
Creates an instance of a SessionMcpListResultServersItem record class.
SessionMcpReloadParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the session.mcp.reload RPC method.
SessionMcpReloadParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionMcpReloadParams
Creates an instance of a SessionMcpReloadParams record class.
SessionMcpReloadResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the session.mcp.reload RPC method.
SessionMcpReloadResult() - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionMcpReloadResult
Creates an instance of a SessionMcpReloadResult record class.
SessionMcpServersLoadedEvent - Class in com.github.copilot.sdk.generated
The session.mcp_servers_loaded session event.
SessionMcpServersLoadedEvent() - Constructor for class com.github.copilot.sdk.generated.SessionMcpServersLoadedEvent
 
SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData - Record Class in com.github.copilot.sdk.generated
SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData.SessionMcpServersLoadedEventDataServersItem - Record Class in com.github.copilot.sdk.generated
 
SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData.SessionMcpServersLoadedEventDataServersItem.SessionMcpServersLoadedEventDataServersItemStatus - Enum Class in com.github.copilot.sdk.generated
Connection status: connected, failed, needs-auth, pending, disabled, or not_configured
SessionMcpServersLoadedEventData(List<SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData.SessionMcpServersLoadedEventDataServersItem>) - Constructor for record class com.github.copilot.sdk.generated.SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData
Creates an instance of a SessionMcpServersLoadedEventData record class.
SessionMcpServersLoadedEventDataServersItem(String, SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData.SessionMcpServersLoadedEventDataServersItem.SessionMcpServersLoadedEventDataServersItemStatus, String, String) - Constructor for record class com.github.copilot.sdk.generated.SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData.SessionMcpServersLoadedEventDataServersItem
Creates an instance of a SessionMcpServersLoadedEventDataServersItem record class.
SessionMcpServerStatusChangedEvent - Class in com.github.copilot.sdk.generated
The session.mcp_server_status_changed session event.
SessionMcpServerStatusChangedEvent() - Constructor for class com.github.copilot.sdk.generated.SessionMcpServerStatusChangedEvent
 
SessionMcpServerStatusChangedEvent.SessionMcpServerStatusChangedEventData - Record Class in com.github.copilot.sdk.generated
SessionMcpServerStatusChangedEvent.SessionMcpServerStatusChangedEventData.SessionMcpServerStatusChangedEventDataStatus - Enum Class in com.github.copilot.sdk.generated
New connection status: connected, failed, needs-auth, pending, disabled, or not_configured
SessionMcpServerStatusChangedEventData(String, SessionMcpServerStatusChangedEvent.SessionMcpServerStatusChangedEventData.SessionMcpServerStatusChangedEventDataStatus) - Constructor for record class com.github.copilot.sdk.generated.SessionMcpServerStatusChangedEvent.SessionMcpServerStatusChangedEventData
Creates an instance of a SessionMcpServerStatusChangedEventData record class.
SessionMetadata - Class in com.github.copilot.sdk.json
Metadata about an existing Copilot session.
SessionMetadata() - Constructor for class com.github.copilot.sdk.json.SessionMetadata
 
SessionModeApi - Class in com.github.copilot.sdk.generated.rpc
API methods for the mode namespace.
SessionModeChangedEvent - Class in com.github.copilot.sdk.generated
The session.mode_changed session event.
SessionModeChangedEvent() - Constructor for class com.github.copilot.sdk.generated.SessionModeChangedEvent
 
SessionModeChangedEvent.SessionModeChangedEventData - Record Class in com.github.copilot.sdk.generated
Data payload for SessionModeChangedEvent.
SessionModeChangedEventData(String, String) - Constructor for record class com.github.copilot.sdk.generated.SessionModeChangedEvent.SessionModeChangedEventData
Creates an instance of a SessionModeChangedEventData record class.
SessionModeGetParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the session.mode.get RPC method.
SessionModeGetParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionModeGetParams
Creates an instance of a SessionModeGetParams record class.
SessionModeGetResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the session.mode.get RPC method.
SessionModeGetResult(SessionModeGetResult.SessionModeGetResultMode) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionModeGetResult
Creates an instance of a SessionModeGetResult record class.
SessionModeGetResult.SessionModeGetResultMode - Enum Class in com.github.copilot.sdk.generated.rpc
The current agent mode.
SessionModelApi - Class in com.github.copilot.sdk.generated.rpc
API methods for the model namespace.
SessionModelChangeEvent - Class in com.github.copilot.sdk.generated
The session.model_change session event.
SessionModelChangeEvent() - Constructor for class com.github.copilot.sdk.generated.SessionModelChangeEvent
 
SessionModelChangeEvent.SessionModelChangeEventData - Record Class in com.github.copilot.sdk.generated
Data payload for SessionModelChangeEvent.
SessionModelChangeEventData(String, String, String, String) - Constructor for record class com.github.copilot.sdk.generated.SessionModelChangeEvent.SessionModelChangeEventData
Creates an instance of a SessionModelChangeEventData record class.
SessionModelGetCurrentParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the session.model.getCurrent RPC method.
SessionModelGetCurrentParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionModelGetCurrentParams
Creates an instance of a SessionModelGetCurrentParams record class.
SessionModelGetCurrentResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the session.model.getCurrent RPC method.
SessionModelGetCurrentResult(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionModelGetCurrentResult
Creates an instance of a SessionModelGetCurrentResult record class.
SessionModelSwitchToParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the session.model.switchTo RPC method.
SessionModelSwitchToParams(String, String, String, SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams
Creates an instance of a SessionModelSwitchToParams record class.
SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities - Record Class in com.github.copilot.sdk.generated.rpc
Override individual model capabilities resolved by the runtime
SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities.SessionModelSwitchToParamsModelCapabilitiesLimits - Record Class in com.github.copilot.sdk.generated.rpc
Token limits for prompts, outputs, and context window
SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities.SessionModelSwitchToParamsModelCapabilitiesLimits.SessionModelSwitchToParamsModelCapabilitiesLimitsVision - Record Class in com.github.copilot.sdk.generated.rpc
 
SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities.SessionModelSwitchToParamsModelCapabilitiesSupports - Record Class in com.github.copilot.sdk.generated.rpc
Feature flags indicating what the model supports
SessionModelSwitchToParamsModelCapabilities(SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities.SessionModelSwitchToParamsModelCapabilitiesSupports, SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities.SessionModelSwitchToParamsModelCapabilitiesLimits) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities
Creates an instance of a SessionModelSwitchToParamsModelCapabilities record class.
SessionModelSwitchToParamsModelCapabilitiesLimits(Double, Double, Double, SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities.SessionModelSwitchToParamsModelCapabilitiesLimits.SessionModelSwitchToParamsModelCapabilitiesLimitsVision) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities.SessionModelSwitchToParamsModelCapabilitiesLimits
Creates an instance of a SessionModelSwitchToParamsModelCapabilitiesLimits record class.
SessionModelSwitchToParamsModelCapabilitiesLimitsVision(List<String>, Double, Double) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities.SessionModelSwitchToParamsModelCapabilitiesLimits.SessionModelSwitchToParamsModelCapabilitiesLimitsVision
Creates an instance of a SessionModelSwitchToParamsModelCapabilitiesLimitsVision record class.
SessionModelSwitchToParamsModelCapabilitiesSupports(Boolean, Boolean) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities.SessionModelSwitchToParamsModelCapabilitiesSupports
Creates an instance of a SessionModelSwitchToParamsModelCapabilitiesSupports record class.
SessionModelSwitchToResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the session.model.switchTo RPC method.
SessionModelSwitchToResult(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToResult
Creates an instance of a SessionModelSwitchToResult record class.
SessionModeSetParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the session.mode.set RPC method.
SessionModeSetParams(String, SessionModeSetParams.SessionModeSetParamsMode) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionModeSetParams
Creates an instance of a SessionModeSetParams record class.
SessionModeSetParams.SessionModeSetParamsMode - Enum Class in com.github.copilot.sdk.generated.rpc
The mode to switch to.
SessionModeSetResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the session.mode.set RPC method.
SessionModeSetResult(SessionModeSetResult.SessionModeSetResultMode) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionModeSetResult
Creates an instance of a SessionModeSetResult record class.
SessionModeSetResult.SessionModeSetResultMode - Enum Class in com.github.copilot.sdk.generated.rpc
The agent mode after switching.
SessionPermissionsApi - Class in com.github.copilot.sdk.generated.rpc
API methods for the permissions namespace.
SessionPermissionsHandlePendingPermissionRequestParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the session.permissions.handlePendingPermissionRequest RPC method.
SessionPermissionsHandlePendingPermissionRequestParams(String, String, Object) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionPermissionsHandlePendingPermissionRequestParams
Creates an instance of a SessionPermissionsHandlePendingPermissionRequestParams record class.
SessionPermissionsHandlePendingPermissionRequestResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the session.permissions.handlePendingPermissionRequest RPC method.
SessionPermissionsHandlePendingPermissionRequestResult(Boolean) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionPermissionsHandlePendingPermissionRequestResult
Creates an instance of a SessionPermissionsHandlePendingPermissionRequestResult record class.
SessionPlanApi - Class in com.github.copilot.sdk.generated.rpc
API methods for the plan namespace.
SessionPlanChangedEvent - Class in com.github.copilot.sdk.generated
The session.plan_changed session event.
SessionPlanChangedEvent() - Constructor for class com.github.copilot.sdk.generated.SessionPlanChangedEvent
 
SessionPlanChangedEvent.SessionPlanChangedEventData - Record Class in com.github.copilot.sdk.generated
Data payload for SessionPlanChangedEvent.
SessionPlanChangedEvent.SessionPlanChangedEventData.SessionPlanChangedEventDataOperation - Enum Class in com.github.copilot.sdk.generated
The type of operation performed on the plan file
SessionPlanChangedEventData(SessionPlanChangedEvent.SessionPlanChangedEventData.SessionPlanChangedEventDataOperation) - Constructor for record class com.github.copilot.sdk.generated.SessionPlanChangedEvent.SessionPlanChangedEventData
Creates an instance of a SessionPlanChangedEventData record class.
SessionPlanDeleteParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the session.plan.delete RPC method.
SessionPlanDeleteParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionPlanDeleteParams
Creates an instance of a SessionPlanDeleteParams record class.
SessionPlanDeleteResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the session.plan.delete RPC method.
SessionPlanDeleteResult() - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionPlanDeleteResult
Creates an instance of a SessionPlanDeleteResult record class.
SessionPlanReadParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the session.plan.read RPC method.
SessionPlanReadParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionPlanReadParams
Creates an instance of a SessionPlanReadParams record class.
SessionPlanReadResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the session.plan.read RPC method.
SessionPlanReadResult(Boolean, String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionPlanReadResult
Creates an instance of a SessionPlanReadResult record class.
SessionPlanUpdateParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the session.plan.update RPC method.
SessionPlanUpdateParams(String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionPlanUpdateParams
Creates an instance of a SessionPlanUpdateParams record class.
SessionPlanUpdateResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the session.plan.update RPC method.
SessionPlanUpdateResult() - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionPlanUpdateResult
Creates an instance of a SessionPlanUpdateResult record class.
SessionPluginsApi - Class in com.github.copilot.sdk.generated.rpc
API methods for the plugins namespace.
SessionPluginsListParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the session.plugins.list RPC method.
SessionPluginsListParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionPluginsListParams
Creates an instance of a SessionPluginsListParams record class.
SessionPluginsListResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the session.plugins.list RPC method.
SessionPluginsListResult(List<SessionPluginsListResult.SessionPluginsListResultPluginsItem>) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionPluginsListResult
Creates an instance of a SessionPluginsListResult record class.
SessionPluginsListResult.SessionPluginsListResultPluginsItem - Record Class in com.github.copilot.sdk.generated.rpc
 
SessionPluginsListResultPluginsItem(String, String, String, Boolean) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionPluginsListResult.SessionPluginsListResultPluginsItem
Creates an instance of a SessionPluginsListResultPluginsItem record class.
SessionRemoteSteerableChangedEvent - Class in com.github.copilot.sdk.generated
The session.remote_steerable_changed session event.
SessionRemoteSteerableChangedEvent() - Constructor for class com.github.copilot.sdk.generated.SessionRemoteSteerableChangedEvent
 
SessionRemoteSteerableChangedEvent.SessionRemoteSteerableChangedEventData - Record Class in com.github.copilot.sdk.generated
SessionRemoteSteerableChangedEventData(Boolean) - Constructor for record class com.github.copilot.sdk.generated.SessionRemoteSteerableChangedEvent.SessionRemoteSteerableChangedEventData
Creates an instance of a SessionRemoteSteerableChangedEventData record class.
SessionResumeEvent - Class in com.github.copilot.sdk.generated
The session.resume session event.
SessionResumeEvent() - Constructor for class com.github.copilot.sdk.generated.SessionResumeEvent
 
SessionResumeEvent.SessionResumeEventData - Record Class in com.github.copilot.sdk.generated
Data payload for SessionResumeEvent.
SessionResumeEvent.SessionResumeEventData.SessionResumeEventDataContext - Record Class in com.github.copilot.sdk.generated
Updated working directory and git context at resume time
SessionResumeEvent.SessionResumeEventData.SessionResumeEventDataContext.SessionResumeEventDataContextHostType - Enum Class in com.github.copilot.sdk.generated
Hosting platform type of the repository (github or ado)
SessionResumeEventData(OffsetDateTime, Double, String, String, SessionResumeEvent.SessionResumeEventData.SessionResumeEventDataContext, Boolean, Boolean) - Constructor for record class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData
Creates an instance of a SessionResumeEventData record class.
SessionResumeEventDataContext(String, String, String, SessionResumeEvent.SessionResumeEventData.SessionResumeEventDataContext.SessionResumeEventDataContextHostType, String, String, String) - Constructor for record class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData.SessionResumeEventDataContext
Creates an instance of a SessionResumeEventDataContext record class.
SessionRpc - Class in com.github.copilot.sdk.generated.rpc
Typed client for session-scoped RPC methods.
SessionRpc(RpcCaller, String) - Constructor for class com.github.copilot.sdk.generated.rpc.SessionRpc
Creates a new session RPC client.
sessions - Variable in class com.github.copilot.sdk.generated.rpc.ServerRpc
API methods for the sessions namespace.
sessions() - Method in record class com.github.copilot.sdk.json.ListSessionsResponse
Returns the value of the sessions record component.
SessionsForkParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the sessions.fork RPC method.
SessionsForkParams(String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionsForkParams
Creates an instance of a SessionsForkParams record class.
SessionsForkResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the sessions.fork RPC method.
SessionsForkResult(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionsForkResult
Creates an instance of a SessionsForkResult record class.
SessionShellApi - Class in com.github.copilot.sdk.generated.rpc
API methods for the shell namespace.
SessionShellExecParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the session.shell.exec RPC method.
SessionShellExecParams(String, String, String, Double) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionShellExecParams
Creates an instance of a SessionShellExecParams record class.
SessionShellExecResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the session.shell.exec RPC method.
SessionShellExecResult(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionShellExecResult
Creates an instance of a SessionShellExecResult record class.
SessionShellKillParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the session.shell.kill RPC method.
SessionShellKillParams(String, String, SessionShellKillParams.SessionShellKillParamsSignal) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionShellKillParams
Creates an instance of a SessionShellKillParams record class.
SessionShellKillParams.SessionShellKillParamsSignal - Enum Class in com.github.copilot.sdk.generated.rpc
Signal to send (default: SIGTERM)
SessionShellKillResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the session.shell.kill RPC method.
SessionShellKillResult(Boolean) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionShellKillResult
Creates an instance of a SessionShellKillResult record class.
SessionShutdownEvent - Class in com.github.copilot.sdk.generated
The session.shutdown session event.
SessionShutdownEvent() - Constructor for class com.github.copilot.sdk.generated.SessionShutdownEvent
 
SessionShutdownEvent.SessionShutdownEventData - Record Class in com.github.copilot.sdk.generated
Data payload for SessionShutdownEvent.
SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataCodeChanges - Record Class in com.github.copilot.sdk.generated
Aggregate code change metrics for the session
SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataModelMetricsValue - Record Class in com.github.copilot.sdk.generated
 
SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataModelMetricsValue.SessionShutdownEventDataModelMetricsValueRequests - Record Class in com.github.copilot.sdk.generated
Request count and cost metrics
SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataModelMetricsValue.SessionShutdownEventDataModelMetricsValueUsage - Record Class in com.github.copilot.sdk.generated
Token usage breakdown
SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataShutdownType - Enum Class in com.github.copilot.sdk.generated
Whether the session ended normally ("routine") or due to a crash/fatal error ("error")
SessionShutdownEventData(SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataShutdownType, String, Double, Double, Double, SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataCodeChanges, Map<String, SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataModelMetricsValue>, String, Double, Double, Double, Double) - Constructor for record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData
Creates an instance of a SessionShutdownEventData record class.
SessionShutdownEventDataCodeChanges(Double, Double, List<String>) - Constructor for record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataCodeChanges
Creates an instance of a SessionShutdownEventDataCodeChanges record class.
SessionShutdownEventDataModelMetricsValue(SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataModelMetricsValue.SessionShutdownEventDataModelMetricsValueRequests, SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataModelMetricsValue.SessionShutdownEventDataModelMetricsValueUsage) - Constructor for record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataModelMetricsValue
Creates an instance of a SessionShutdownEventDataModelMetricsValue record class.
SessionShutdownEventDataModelMetricsValueRequests(Double, Double) - Constructor for record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataModelMetricsValue.SessionShutdownEventDataModelMetricsValueRequests
Creates an instance of a SessionShutdownEventDataModelMetricsValueRequests record class.
SessionShutdownEventDataModelMetricsValueUsage(Double, Double, Double, Double, Double) - Constructor for record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataModelMetricsValue.SessionShutdownEventDataModelMetricsValueUsage
Creates an instance of a SessionShutdownEventDataModelMetricsValueUsage record class.
SessionSkillsApi - Class in com.github.copilot.sdk.generated.rpc
API methods for the skills namespace.
SessionSkillsDisableParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the session.skills.disable RPC method.
SessionSkillsDisableParams(String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionSkillsDisableParams
Creates an instance of a SessionSkillsDisableParams record class.
SessionSkillsDisableResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the session.skills.disable RPC method.
SessionSkillsDisableResult() - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionSkillsDisableResult
Creates an instance of a SessionSkillsDisableResult record class.
SessionSkillsEnableParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the session.skills.enable RPC method.
SessionSkillsEnableParams(String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionSkillsEnableParams
Creates an instance of a SessionSkillsEnableParams record class.
SessionSkillsEnableResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the session.skills.enable RPC method.
SessionSkillsEnableResult() - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionSkillsEnableResult
Creates an instance of a SessionSkillsEnableResult record class.
SessionSkillsListParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the session.skills.list RPC method.
SessionSkillsListParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionSkillsListParams
Creates an instance of a SessionSkillsListParams record class.
SessionSkillsListResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the session.skills.list RPC method.
SessionSkillsListResult(List<SessionSkillsListResult.SessionSkillsListResultSkillsItem>) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionSkillsListResult
Creates an instance of a SessionSkillsListResult record class.
SessionSkillsListResult.SessionSkillsListResultSkillsItem - Record Class in com.github.copilot.sdk.generated.rpc
 
SessionSkillsListResultSkillsItem(String, String, String, Boolean, Boolean, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionSkillsListResult.SessionSkillsListResultSkillsItem
Creates an instance of a SessionSkillsListResultSkillsItem record class.
SessionSkillsLoadedEvent - Class in com.github.copilot.sdk.generated
The session.skills_loaded session event.
SessionSkillsLoadedEvent() - Constructor for class com.github.copilot.sdk.generated.SessionSkillsLoadedEvent
 
SessionSkillsLoadedEvent.SessionSkillsLoadedEventData - Record Class in com.github.copilot.sdk.generated
Data payload for SessionSkillsLoadedEvent.
SessionSkillsLoadedEvent.SessionSkillsLoadedEventData.SessionSkillsLoadedEventDataSkillsItem - Record Class in com.github.copilot.sdk.generated
 
SessionSkillsLoadedEventData(List<SessionSkillsLoadedEvent.SessionSkillsLoadedEventData.SessionSkillsLoadedEventDataSkillsItem>) - Constructor for record class com.github.copilot.sdk.generated.SessionSkillsLoadedEvent.SessionSkillsLoadedEventData
Creates an instance of a SessionSkillsLoadedEventData record class.
SessionSkillsLoadedEventDataSkillsItem(String, String, String, Boolean, Boolean, String) - Constructor for record class com.github.copilot.sdk.generated.SessionSkillsLoadedEvent.SessionSkillsLoadedEventData.SessionSkillsLoadedEventDataSkillsItem
Creates an instance of a SessionSkillsLoadedEventDataSkillsItem record class.
SessionSkillsReloadParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the session.skills.reload RPC method.
SessionSkillsReloadParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionSkillsReloadParams
Creates an instance of a SessionSkillsReloadParams record class.
SessionSkillsReloadResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the session.skills.reload RPC method.
SessionSkillsReloadResult() - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionSkillsReloadResult
Creates an instance of a SessionSkillsReloadResult record class.
SessionSnapshotRewindEvent - Class in com.github.copilot.sdk.generated
The session.snapshot_rewind session event.
SessionSnapshotRewindEvent() - Constructor for class com.github.copilot.sdk.generated.SessionSnapshotRewindEvent
 
SessionSnapshotRewindEvent.SessionSnapshotRewindEventData - Record Class in com.github.copilot.sdk.generated
Data payload for SessionSnapshotRewindEvent.
SessionSnapshotRewindEventData(String, Double) - Constructor for record class com.github.copilot.sdk.generated.SessionSnapshotRewindEvent.SessionSnapshotRewindEventData
Creates an instance of a SessionSnapshotRewindEventData record class.
SessionStartEvent - Class in com.github.copilot.sdk.generated
The session.start session event.
SessionStartEvent() - Constructor for class com.github.copilot.sdk.generated.SessionStartEvent
 
SessionStartEvent.SessionStartEventData - Record Class in com.github.copilot.sdk.generated
Data payload for SessionStartEvent.
SessionStartEvent.SessionStartEventData.SessionStartEventDataContext - Record Class in com.github.copilot.sdk.generated
Working directory and git context at session start
SessionStartEvent.SessionStartEventData.SessionStartEventDataContext.SessionStartEventDataContextHostType - Enum Class in com.github.copilot.sdk.generated
Hosting platform type of the repository (github or ado)
SessionStartEventData(String, Double, String, String, OffsetDateTime, String, String, SessionStartEvent.SessionStartEventData.SessionStartEventDataContext, Boolean, Boolean) - Constructor for record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData
Creates an instance of a SessionStartEventData record class.
SessionStartEventDataContext(String, String, String, SessionStartEvent.SessionStartEventData.SessionStartEventDataContext.SessionStartEventDataContextHostType, String, String, String) - Constructor for record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData.SessionStartEventDataContext
Creates an instance of a SessionStartEventDataContext record class.
SessionStartHandler - Interface in com.github.copilot.sdk.json
Handler for session-start hooks.
SessionStartHookInput - Record Class in com.github.copilot.sdk.json
Input for a session-start hook.
SessionStartHookInput(long, String, String, String) - Constructor for record class com.github.copilot.sdk.json.SessionStartHookInput
Creates an instance of a SessionStartHookInput record class.
SessionStartHookOutput - Record Class in com.github.copilot.sdk.json
Output for a session-start hook.
SessionStartHookOutput(String, Map<String, Object>) - Constructor for record class com.github.copilot.sdk.json.SessionStartHookOutput
Creates an instance of a SessionStartHookOutput record class.
sessionStartTime() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult
Returns the value of the sessionStartTime record component.
sessionStartTime() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData
Returns the value of the sessionStartTime record component.
sessionStatePath() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsSetProviderParams
Returns the value of the sessionStatePath record component.
sessionSummary() - Method in record class com.github.copilot.sdk.json.SessionEndHookOutput
Returns the value of the sessionSummary record component.
SessionTaskCompleteEvent - Class in com.github.copilot.sdk.generated
The session.task_complete session event.
SessionTaskCompleteEvent() - Constructor for class com.github.copilot.sdk.generated.SessionTaskCompleteEvent
 
SessionTaskCompleteEvent.SessionTaskCompleteEventData - Record Class in com.github.copilot.sdk.generated
Data payload for SessionTaskCompleteEvent.
SessionTaskCompleteEventData(String, Boolean) - Constructor for record class com.github.copilot.sdk.generated.SessionTaskCompleteEvent.SessionTaskCompleteEventData
Creates an instance of a SessionTaskCompleteEventData record class.
SessionTitleChangedEvent - Class in com.github.copilot.sdk.generated
The session.title_changed session event.
SessionTitleChangedEvent() - Constructor for class com.github.copilot.sdk.generated.SessionTitleChangedEvent
 
SessionTitleChangedEvent.SessionTitleChangedEventData - Record Class in com.github.copilot.sdk.generated
Data payload for SessionTitleChangedEvent.
SessionTitleChangedEventData(String) - Constructor for record class com.github.copilot.sdk.generated.SessionTitleChangedEvent.SessionTitleChangedEventData
Creates an instance of a SessionTitleChangedEventData record class.
SessionToolsApi - Class in com.github.copilot.sdk.generated.rpc
API methods for the tools namespace.
SessionToolsHandlePendingToolCallParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the session.tools.handlePendingToolCall RPC method.
SessionToolsHandlePendingToolCallParams(String, String, Object, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionToolsHandlePendingToolCallParams
Creates an instance of a SessionToolsHandlePendingToolCallParams record class.
SessionToolsHandlePendingToolCallResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the session.tools.handlePendingToolCall RPC method.
SessionToolsHandlePendingToolCallResult(Boolean) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionToolsHandlePendingToolCallResult
Creates an instance of a SessionToolsHandlePendingToolCallResult record class.
SessionToolsUpdatedEvent - Class in com.github.copilot.sdk.generated
The session.tools_updated session event.
SessionToolsUpdatedEvent() - Constructor for class com.github.copilot.sdk.generated.SessionToolsUpdatedEvent
 
SessionToolsUpdatedEvent.SessionToolsUpdatedEventData - Record Class in com.github.copilot.sdk.generated
Data payload for SessionToolsUpdatedEvent.
SessionToolsUpdatedEventData(String) - Constructor for record class com.github.copilot.sdk.generated.SessionToolsUpdatedEvent.SessionToolsUpdatedEventData
Creates an instance of a SessionToolsUpdatedEventData record class.
SessionTruncationEvent - Class in com.github.copilot.sdk.generated
The session.truncation session event.
SessionTruncationEvent() - Constructor for class com.github.copilot.sdk.generated.SessionTruncationEvent
 
SessionTruncationEvent.SessionTruncationEventData - Record Class in com.github.copilot.sdk.generated
Data payload for SessionTruncationEvent.
SessionTruncationEventData(Double, Double, Double, Double, Double, Double, Double, String) - Constructor for record class com.github.copilot.sdk.generated.SessionTruncationEvent.SessionTruncationEventData
Creates an instance of a SessionTruncationEventData record class.
SessionUiApi - Class in com.github.copilot.sdk.generated.rpc
API methods for the ui namespace.
SessionUiApi - Interface in com.github.copilot.sdk.json
Provides UI methods for eliciting information from the user during a session.
SessionUiCapabilities - Class in com.github.copilot.sdk.json
UI-specific capability flags for a session.
SessionUiCapabilities() - Constructor for class com.github.copilot.sdk.json.SessionUiCapabilities
 
SessionUiElicitationParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the session.ui.elicitation RPC method.
SessionUiElicitationParams(String, String, SessionUiElicitationParams.SessionUiElicitationParamsRequestedSchema) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionUiElicitationParams
Creates an instance of a SessionUiElicitationParams record class.
SessionUiElicitationParams.SessionUiElicitationParamsRequestedSchema - Record Class in com.github.copilot.sdk.generated.rpc
JSON Schema describing the form fields to present to the user
SessionUiElicitationParamsRequestedSchema(String, Map<String, Object>, List<String>) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionUiElicitationParams.SessionUiElicitationParamsRequestedSchema
Creates an instance of a SessionUiElicitationParamsRequestedSchema record class.
SessionUiElicitationResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the session.ui.elicitation RPC method.
SessionUiElicitationResult(SessionUiElicitationResult.SessionUiElicitationResultAction, Map<String, Object>) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionUiElicitationResult
Creates an instance of a SessionUiElicitationResult record class.
SessionUiElicitationResult.SessionUiElicitationResultAction - Enum Class in com.github.copilot.sdk.generated.rpc
The user's response: accept (submitted), decline (rejected), or cancel (dismissed)
SessionUiHandlePendingElicitationParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the session.ui.handlePendingElicitation RPC method.
SessionUiHandlePendingElicitationParams(String, String, SessionUiHandlePendingElicitationParams.SessionUiHandlePendingElicitationParamsResult) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionUiHandlePendingElicitationParams
Creates an instance of a SessionUiHandlePendingElicitationParams record class.
SessionUiHandlePendingElicitationParams.SessionUiHandlePendingElicitationParamsResult - Record Class in com.github.copilot.sdk.generated.rpc
The elicitation response (accept with form values, decline, or cancel)
SessionUiHandlePendingElicitationParams.SessionUiHandlePendingElicitationParamsResult.SessionUiHandlePendingElicitationParamsResultAction - Enum Class in com.github.copilot.sdk.generated.rpc
The user's response: accept (submitted), decline (rejected), or cancel (dismissed)
SessionUiHandlePendingElicitationParamsResult(SessionUiHandlePendingElicitationParams.SessionUiHandlePendingElicitationParamsResult.SessionUiHandlePendingElicitationParamsResultAction, Map<String, Object>) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionUiHandlePendingElicitationParams.SessionUiHandlePendingElicitationParamsResult
Creates an instance of a SessionUiHandlePendingElicitationParamsResult record class.
SessionUiHandlePendingElicitationResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the session.ui.handlePendingElicitation RPC method.
SessionUiHandlePendingElicitationResult(Boolean) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionUiHandlePendingElicitationResult
Creates an instance of a SessionUiHandlePendingElicitationResult record class.
SessionUsageApi - Class in com.github.copilot.sdk.generated.rpc
API methods for the usage namespace.
SessionUsageGetMetricsParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the session.usage.getMetrics RPC method.
SessionUsageGetMetricsParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsParams
Creates an instance of a SessionUsageGetMetricsParams record class.
SessionUsageGetMetricsResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the session.usage.getMetrics RPC method.
SessionUsageGetMetricsResult(Double, Long, Double, Long, SessionUsageGetMetricsResult.SessionUsageGetMetricsResultCodeChanges, Map<String, SessionUsageGetMetricsResult.SessionUsageGetMetricsResultModelMetricsValue>, String, Long, Long) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult
Creates an instance of a SessionUsageGetMetricsResult record class.
SessionUsageGetMetricsResult.SessionUsageGetMetricsResultCodeChanges - Record Class in com.github.copilot.sdk.generated.rpc
Aggregated code change metrics
SessionUsageGetMetricsResult.SessionUsageGetMetricsResultModelMetricsValue - Record Class in com.github.copilot.sdk.generated.rpc
 
SessionUsageGetMetricsResult.SessionUsageGetMetricsResultModelMetricsValue.SessionUsageGetMetricsResultModelMetricsValueRequests - Record Class in com.github.copilot.sdk.generated.rpc
Request count and cost metrics for this model
SessionUsageGetMetricsResult.SessionUsageGetMetricsResultModelMetricsValue.SessionUsageGetMetricsResultModelMetricsValueUsage - Record Class in com.github.copilot.sdk.generated.rpc
Token usage metrics for this model
SessionUsageGetMetricsResultCodeChanges(Long, Long, Long) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.SessionUsageGetMetricsResultCodeChanges
Creates an instance of a SessionUsageGetMetricsResultCodeChanges record class.
SessionUsageGetMetricsResultModelMetricsValue(SessionUsageGetMetricsResult.SessionUsageGetMetricsResultModelMetricsValue.SessionUsageGetMetricsResultModelMetricsValueRequests, SessionUsageGetMetricsResult.SessionUsageGetMetricsResultModelMetricsValue.SessionUsageGetMetricsResultModelMetricsValueUsage) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.SessionUsageGetMetricsResultModelMetricsValue
Creates an instance of a SessionUsageGetMetricsResultModelMetricsValue record class.
SessionUsageGetMetricsResultModelMetricsValueRequests(Long, Double) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.SessionUsageGetMetricsResultModelMetricsValue.SessionUsageGetMetricsResultModelMetricsValueRequests
Creates an instance of a SessionUsageGetMetricsResultModelMetricsValueRequests record class.
SessionUsageGetMetricsResultModelMetricsValueUsage(Long, Long, Long, Long, Long) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.SessionUsageGetMetricsResultModelMetricsValue.SessionUsageGetMetricsResultModelMetricsValueUsage
Creates an instance of a SessionUsageGetMetricsResultModelMetricsValueUsage record class.
SessionUsageInfoEvent - Class in com.github.copilot.sdk.generated
The session.usage_info session event.
SessionUsageInfoEvent() - Constructor for class com.github.copilot.sdk.generated.SessionUsageInfoEvent
 
SessionUsageInfoEvent.SessionUsageInfoEventData - Record Class in com.github.copilot.sdk.generated
Data payload for SessionUsageInfoEvent.
SessionUsageInfoEventData(Double, Double, Double, Double, Double, Double, Boolean) - Constructor for record class com.github.copilot.sdk.generated.SessionUsageInfoEvent.SessionUsageInfoEventData
Creates an instance of a SessionUsageInfoEventData record class.
SessionWarningEvent - Class in com.github.copilot.sdk.generated
The session.warning session event.
SessionWarningEvent() - Constructor for class com.github.copilot.sdk.generated.SessionWarningEvent
 
SessionWarningEvent.SessionWarningEventData - Record Class in com.github.copilot.sdk.generated
Data payload for SessionWarningEvent.
SessionWarningEventData(String, String, String) - Constructor for record class com.github.copilot.sdk.generated.SessionWarningEvent.SessionWarningEventData
Creates an instance of a SessionWarningEventData record class.
SessionWorkspaceApi - Class in com.github.copilot.sdk.generated.rpc
API methods for the workspace namespace.
SessionWorkspaceCreateFileParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the session.workspace.createFile RPC method.
SessionWorkspaceCreateFileParams(String, String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceCreateFileParams
Creates an instance of a SessionWorkspaceCreateFileParams record class.
SessionWorkspaceCreateFileResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the session.workspace.createFile RPC method.
SessionWorkspaceCreateFileResult() - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceCreateFileResult
Creates an instance of a SessionWorkspaceCreateFileResult record class.
SessionWorkspaceFileChangedEvent - Class in com.github.copilot.sdk.generated
The session.workspace_file_changed session event.
SessionWorkspaceFileChangedEvent() - Constructor for class com.github.copilot.sdk.generated.SessionWorkspaceFileChangedEvent
 
SessionWorkspaceFileChangedEvent.SessionWorkspaceFileChangedEventData - Record Class in com.github.copilot.sdk.generated
SessionWorkspaceFileChangedEvent.SessionWorkspaceFileChangedEventData.SessionWorkspaceFileChangedEventDataOperation - Enum Class in com.github.copilot.sdk.generated
Whether the file was newly created or updated
SessionWorkspaceFileChangedEventData(String, SessionWorkspaceFileChangedEvent.SessionWorkspaceFileChangedEventData.SessionWorkspaceFileChangedEventDataOperation) - Constructor for record class com.github.copilot.sdk.generated.SessionWorkspaceFileChangedEvent.SessionWorkspaceFileChangedEventData
Creates an instance of a SessionWorkspaceFileChangedEventData record class.
SessionWorkspaceListFilesParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the session.workspace.listFiles RPC method.
SessionWorkspaceListFilesParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceListFilesParams
Creates an instance of a SessionWorkspaceListFilesParams record class.
SessionWorkspaceListFilesResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the session.workspace.listFiles RPC method.
SessionWorkspaceListFilesResult(List<String>) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceListFilesResult
Creates an instance of a SessionWorkspaceListFilesResult record class.
SessionWorkspaceReadFileParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the session.workspace.readFile RPC method.
SessionWorkspaceReadFileParams(String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceReadFileParams
Creates an instance of a SessionWorkspaceReadFileParams record class.
SessionWorkspaceReadFileResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the session.workspace.readFile RPC method.
SessionWorkspaceReadFileResult(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceReadFileResult
Creates an instance of a SessionWorkspaceReadFileResult record class.
set(SessionModeSetParams) - Method in class com.github.copilot.sdk.generated.rpc.SessionModeApi
Invokes session.mode.set.
setAction(ElicitationResultAction) - Method in class com.github.copilot.sdk.json.ElicitationResult
Sets the user action taken on the elicitation dialog.
setAction(SectionOverrideAction) - Method in class com.github.copilot.sdk.json.SectionOverride
Sets the override action.
setAgent(String) - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Sets the pre-selected agent name.
setAgent(String) - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Sets the name of the custom agent to activate when the session starts.
setAgent(String) - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Sets the pre-selected agent name.
setAgent(String) - Method in class com.github.copilot.sdk.json.SessionConfig
Sets the name of the custom agent to activate when the session starts.
setAllowFreeform(Boolean) - Method in class com.github.copilot.sdk.json.UserInputRequest
Sets whether freeform text input is allowed.
setAnswer(String) - Method in class com.github.copilot.sdk.json.UserInputResponse
Sets the user's answer.
setApiKey(String) - Method in class com.github.copilot.sdk.json.ProviderConfig
Sets the API key for authentication.
setApiVersion(String) - Method in class com.github.copilot.sdk.json.AzureOptions
Sets the Azure OpenAI API version to use.
setArgs(String) - Method in class com.github.copilot.sdk.json.CommandContext
Sets the argument string.
setArgs(List<String>) - Method in class com.github.copilot.sdk.json.McpStdioServerConfig
Sets the arguments to pass to the command.
setArguments(JsonNode) - Method in class com.github.copilot.sdk.json.ToolInvocation
Sets the tool arguments.
setAttachments(List<? extends MessageAttachment>) - Method in class com.github.copilot.sdk.json.MessageOptions
Sets attachments to include with the message.
setAttachments(List<MessageAttachment>) - Method in class com.github.copilot.sdk.json.SendMessageRequest
Sets the attachments.
setAuthenticated(boolean) - Method in class com.github.copilot.sdk.json.GetAuthStatusResponse
 
setAuthType(String) - Method in class com.github.copilot.sdk.json.GetAuthStatusResponse
 
setAutoRestart(boolean) - Method in class com.github.copilot.sdk.json.CopilotClientOptions
Deprecated.
This option has no effect and will be removed in a future release.
setAutoStart(boolean) - Method in class com.github.copilot.sdk.json.CopilotClientOptions
Sets whether the client should automatically start the CLI server when the first request is made.
setAvailableTools(List<String>) - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Sets available tools.
setAvailableTools(List<String>) - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Sets the list of tool names that are allowed in this session.
setAvailableTools(List<String>) - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Sets available tools.
setAvailableTools(List<String>) - Method in class com.github.copilot.sdk.json.SessionConfig
Sets the list of tool names that are allowed in this session.
setAzure(AzureOptions) - Method in class com.github.copilot.sdk.json.ProviderConfig
Sets Azure-specific options for Azure OpenAI Service.
setBackgroundCompactionThreshold(Double) - Method in class com.github.copilot.sdk.json.InfiniteSessionConfig
Sets the context utilization threshold at which background compaction starts.
setBaseUrl(String) - Method in class com.github.copilot.sdk.json.ProviderConfig
Sets the base URL for the API.
setBearerToken(String) - Method in class com.github.copilot.sdk.json.ProviderConfig
Sets a bearer token for authentication.
setBilling(ModelBilling) - Method in class com.github.copilot.sdk.json.ModelInfo
 
setBranch(String) - Method in class com.github.copilot.sdk.json.SessionContext
Sets the git branch.
setBranch(String) - Method in class com.github.copilot.sdk.json.SessionListFilter
Sets the filter for git branch.
setBufferExhaustionThreshold(Double) - Method in class com.github.copilot.sdk.json.InfiniteSessionConfig
Sets the context utilization threshold at which the session blocks until compaction completes.
setCapabilities(ModelCapabilities) - Method in class com.github.copilot.sdk.json.ModelInfo
 
setCaptureContent(Boolean) - Method in class com.github.copilot.sdk.json.TelemetryConfig
Sets whether to capture message content as part of telemetry.
setChoices(List<String>) - Method in class com.github.copilot.sdk.json.UserInputRequest
Sets the choices for multiple choice questions.
setCliArgs(String[]) - Method in class com.github.copilot.sdk.json.CopilotClientOptions
Sets extra arguments to pass to the CLI process.
setClientName(String) - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Sets the client name.
setClientName(String) - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Sets the client name to identify the application using the SDK.
setClientName(String) - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Sets the client name.
setClientName(String) - Method in class com.github.copilot.sdk.json.SessionConfig
Sets the client name to identify the application using the SDK.
setCliPath(String) - Method in class com.github.copilot.sdk.json.CopilotClientOptions
Sets the path to the Copilot CLI executable.
setCliUrl(String) - Method in class com.github.copilot.sdk.json.CopilotClientOptions
Sets the URL of an existing CLI server to connect to.
setCode(int) - Method in class com.github.copilot.sdk.json.JsonRpcError
Sets the error code.
setCommand(String) - Method in class com.github.copilot.sdk.json.CommandContext
Sets the full command text.
setCommand(String) - Method in class com.github.copilot.sdk.json.McpStdioServerConfig
Sets the command to run the MCP server.
setCommandName(String) - Method in class com.github.copilot.sdk.json.CommandContext
Sets the command name.
setCommands(List<CommandDefinition>) - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Sets slash commands registered for this session.
setCommands(List<CommandDefinition>) - Method in class com.github.copilot.sdk.json.SessionConfig
Sets slash commands registered for this session.
setCommands(List<CommandWireDefinition>) - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Sets the commands wire definitions.
setCommands(List<CommandWireDefinition>) - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Sets the commands wire definitions.
setConfigDir(String) - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Sets config directory.
setConfigDir(String) - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Sets the configuration directory path.
setConfigDir(String) - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Sets config directory.
setConfigDir(String) - Method in class com.github.copilot.sdk.json.SessionConfig
Sets a custom configuration directory for the session.
setContent(String) - Method in class com.github.copilot.sdk.json.SectionOverride
Sets the content for the override.
setContent(String) - Method in class com.github.copilot.sdk.json.SystemMessageConfig
Sets the system message content.
setContent(Map<String, Object>) - Method in class com.github.copilot.sdk.json.ElicitationResult
Sets the form values submitted by the user.
setContext(SessionContext) - Method in class com.github.copilot.sdk.json.SessionMetadata
Sets the working directory context.
setCustomAgents(List<CustomAgentConfig>) - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Sets custom agents.
setCustomAgents(List<CustomAgentConfig>) - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Sets custom agent configurations.
setCustomAgents(List<CustomAgentConfig>) - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Sets custom agents.
setCustomAgents(List<CustomAgentConfig>) - Method in class com.github.copilot.sdk.json.SessionConfig
Sets custom agent configurations.
setCwd(String) - Method in class com.github.copilot.sdk.json.CopilotClientOptions
Sets the working directory for the CLI process.
setCwd(String) - Method in class com.github.copilot.sdk.json.PostToolUseHookInput
Sets the current working directory.
setCwd(String) - Method in class com.github.copilot.sdk.json.PreToolUseHookInput
Sets the current working directory.
setCwd(String) - Method in class com.github.copilot.sdk.json.SessionContext
Sets the working directory.
setCwd(String) - Method in class com.github.copilot.sdk.json.SessionListFilter
Sets the filter for exact cwd match.
setData(AbortEvent.AbortEventData) - Method in class com.github.copilot.sdk.generated.AbortEvent
 
setData(AssistantIntentEvent.AssistantIntentEventData) - Method in class com.github.copilot.sdk.generated.AssistantIntentEvent
 
setData(AssistantMessageDeltaEvent.AssistantMessageDeltaEventData) - Method in class com.github.copilot.sdk.generated.AssistantMessageDeltaEvent
 
setData(AssistantMessageEvent.AssistantMessageEventData) - Method in class com.github.copilot.sdk.generated.AssistantMessageEvent
 
setData(AssistantReasoningDeltaEvent.AssistantReasoningDeltaEventData) - Method in class com.github.copilot.sdk.generated.AssistantReasoningDeltaEvent
 
setData(AssistantReasoningEvent.AssistantReasoningEventData) - Method in class com.github.copilot.sdk.generated.AssistantReasoningEvent
 
setData(AssistantStreamingDeltaEvent.AssistantStreamingDeltaEventData) - Method in class com.github.copilot.sdk.generated.AssistantStreamingDeltaEvent
 
setData(AssistantTurnEndEvent.AssistantTurnEndEventData) - Method in class com.github.copilot.sdk.generated.AssistantTurnEndEvent
 
setData(AssistantTurnStartEvent.AssistantTurnStartEventData) - Method in class com.github.copilot.sdk.generated.AssistantTurnStartEvent
 
setData(AssistantUsageEvent.AssistantUsageEventData) - Method in class com.github.copilot.sdk.generated.AssistantUsageEvent
 
setData(CapabilitiesChangedEvent.CapabilitiesChangedEventData) - Method in class com.github.copilot.sdk.generated.CapabilitiesChangedEvent
 
setData(CommandCompletedEvent.CommandCompletedEventData) - Method in class com.github.copilot.sdk.generated.CommandCompletedEvent
 
setData(CommandExecuteEvent.CommandExecuteEventData) - Method in class com.github.copilot.sdk.generated.CommandExecuteEvent
 
setData(CommandQueuedEvent.CommandQueuedEventData) - Method in class com.github.copilot.sdk.generated.CommandQueuedEvent
 
setData(CommandsChangedEvent.CommandsChangedEventData) - Method in class com.github.copilot.sdk.generated.CommandsChangedEvent
 
setData(ElicitationCompletedEvent.ElicitationCompletedEventData) - Method in class com.github.copilot.sdk.generated.ElicitationCompletedEvent
 
setData(ElicitationRequestedEvent.ElicitationRequestedEventData) - Method in class com.github.copilot.sdk.generated.ElicitationRequestedEvent
 
setData(ExitPlanModeCompletedEvent.ExitPlanModeCompletedEventData) - Method in class com.github.copilot.sdk.generated.ExitPlanModeCompletedEvent
 
setData(ExitPlanModeRequestedEvent.ExitPlanModeRequestedEventData) - Method in class com.github.copilot.sdk.generated.ExitPlanModeRequestedEvent
 
setData(ExternalToolCompletedEvent.ExternalToolCompletedEventData) - Method in class com.github.copilot.sdk.generated.ExternalToolCompletedEvent
 
setData(ExternalToolRequestedEvent.ExternalToolRequestedEventData) - Method in class com.github.copilot.sdk.generated.ExternalToolRequestedEvent
 
setData(HookEndEvent.HookEndEventData) - Method in class com.github.copilot.sdk.generated.HookEndEvent
 
setData(HookStartEvent.HookStartEventData) - Method in class com.github.copilot.sdk.generated.HookStartEvent
 
setData(McpOauthCompletedEvent.McpOauthCompletedEventData) - Method in class com.github.copilot.sdk.generated.McpOauthCompletedEvent
 
setData(McpOauthRequiredEvent.McpOauthRequiredEventData) - Method in class com.github.copilot.sdk.generated.McpOauthRequiredEvent
 
setData(PendingMessagesModifiedEvent.PendingMessagesModifiedEventData) - Method in class com.github.copilot.sdk.generated.PendingMessagesModifiedEvent
 
setData(PermissionCompletedEvent.PermissionCompletedEventData) - Method in class com.github.copilot.sdk.generated.PermissionCompletedEvent
 
setData(PermissionRequestedEvent.PermissionRequestedEventData) - Method in class com.github.copilot.sdk.generated.PermissionRequestedEvent
 
setData(SamplingCompletedEvent.SamplingCompletedEventData) - Method in class com.github.copilot.sdk.generated.SamplingCompletedEvent
 
setData(SamplingRequestedEvent.SamplingRequestedEventData) - Method in class com.github.copilot.sdk.generated.SamplingRequestedEvent
 
setData(SessionBackgroundTasksChangedEvent.SessionBackgroundTasksChangedEventData) - Method in class com.github.copilot.sdk.generated.SessionBackgroundTasksChangedEvent
 
setData(SessionCompactionCompleteEvent.SessionCompactionCompleteEventData) - Method in class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent
 
setData(SessionCompactionStartEvent.SessionCompactionStartEventData) - Method in class com.github.copilot.sdk.generated.SessionCompactionStartEvent
 
setData(SessionContextChangedEvent.SessionContextChangedEventData) - Method in class com.github.copilot.sdk.generated.SessionContextChangedEvent
 
setData(SessionCustomAgentsUpdatedEvent.SessionCustomAgentsUpdatedEventData) - Method in class com.github.copilot.sdk.generated.SessionCustomAgentsUpdatedEvent
 
setData(SessionErrorEvent.SessionErrorEventData) - Method in class com.github.copilot.sdk.generated.SessionErrorEvent
 
setData(SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData) - Method in class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent
 
setData(SessionHandoffEvent.SessionHandoffEventData) - Method in class com.github.copilot.sdk.generated.SessionHandoffEvent
 
setData(SessionIdleEvent.SessionIdleEventData) - Method in class com.github.copilot.sdk.generated.SessionIdleEvent
 
setData(SessionInfoEvent.SessionInfoEventData) - Method in class com.github.copilot.sdk.generated.SessionInfoEvent
 
setData(SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData) - Method in class com.github.copilot.sdk.generated.SessionMcpServersLoadedEvent
 
setData(SessionMcpServerStatusChangedEvent.SessionMcpServerStatusChangedEventData) - Method in class com.github.copilot.sdk.generated.SessionMcpServerStatusChangedEvent
 
setData(SessionModeChangedEvent.SessionModeChangedEventData) - Method in class com.github.copilot.sdk.generated.SessionModeChangedEvent
 
setData(SessionModelChangeEvent.SessionModelChangeEventData) - Method in class com.github.copilot.sdk.generated.SessionModelChangeEvent
 
setData(SessionPlanChangedEvent.SessionPlanChangedEventData) - Method in class com.github.copilot.sdk.generated.SessionPlanChangedEvent
 
setData(SessionRemoteSteerableChangedEvent.SessionRemoteSteerableChangedEventData) - Method in class com.github.copilot.sdk.generated.SessionRemoteSteerableChangedEvent
 
setData(SessionResumeEvent.SessionResumeEventData) - Method in class com.github.copilot.sdk.generated.SessionResumeEvent
 
setData(SessionShutdownEvent.SessionShutdownEventData) - Method in class com.github.copilot.sdk.generated.SessionShutdownEvent
 
setData(SessionSkillsLoadedEvent.SessionSkillsLoadedEventData) - Method in class com.github.copilot.sdk.generated.SessionSkillsLoadedEvent
 
setData(SessionSnapshotRewindEvent.SessionSnapshotRewindEventData) - Method in class com.github.copilot.sdk.generated.SessionSnapshotRewindEvent
 
setData(SessionStartEvent.SessionStartEventData) - Method in class com.github.copilot.sdk.generated.SessionStartEvent
 
setData(SessionTaskCompleteEvent.SessionTaskCompleteEventData) - Method in class com.github.copilot.sdk.generated.SessionTaskCompleteEvent
 
setData(SessionTitleChangedEvent.SessionTitleChangedEventData) - Method in class com.github.copilot.sdk.generated.SessionTitleChangedEvent
 
setData(SessionToolsUpdatedEvent.SessionToolsUpdatedEventData) - Method in class com.github.copilot.sdk.generated.SessionToolsUpdatedEvent
 
setData(SessionTruncationEvent.SessionTruncationEventData) - Method in class com.github.copilot.sdk.generated.SessionTruncationEvent
 
setData(SessionUsageInfoEvent.SessionUsageInfoEventData) - Method in class com.github.copilot.sdk.generated.SessionUsageInfoEvent
 
setData(SessionWarningEvent.SessionWarningEventData) - Method in class com.github.copilot.sdk.generated.SessionWarningEvent
 
setData(SessionWorkspaceFileChangedEvent.SessionWorkspaceFileChangedEventData) - Method in class com.github.copilot.sdk.generated.SessionWorkspaceFileChangedEvent
 
setData(SkillInvokedEvent.SkillInvokedEventData) - Method in class com.github.copilot.sdk.generated.SkillInvokedEvent
 
setData(SubagentCompletedEvent.SubagentCompletedEventData) - Method in class com.github.copilot.sdk.generated.SubagentCompletedEvent
 
setData(SubagentDeselectedEvent.SubagentDeselectedEventData) - Method in class com.github.copilot.sdk.generated.SubagentDeselectedEvent
 
setData(SubagentFailedEvent.SubagentFailedEventData) - Method in class com.github.copilot.sdk.generated.SubagentFailedEvent
 
setData(SubagentSelectedEvent.SubagentSelectedEventData) - Method in class com.github.copilot.sdk.generated.SubagentSelectedEvent
 
setData(SubagentStartedEvent.SubagentStartedEventData) - Method in class com.github.copilot.sdk.generated.SubagentStartedEvent
 
setData(SystemMessageEvent.SystemMessageEventData) - Method in class com.github.copilot.sdk.generated.SystemMessageEvent
 
setData(SystemNotificationEvent.SystemNotificationEventData) - Method in class com.github.copilot.sdk.generated.SystemNotificationEvent
 
setData(ToolExecutionCompleteEvent.ToolExecutionCompleteEventData) - Method in class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent
 
setData(ToolExecutionPartialResultEvent.ToolExecutionPartialResultEventData) - Method in class com.github.copilot.sdk.generated.ToolExecutionPartialResultEvent
 
setData(ToolExecutionProgressEvent.ToolExecutionProgressEventData) - Method in class com.github.copilot.sdk.generated.ToolExecutionProgressEvent
 
setData(ToolExecutionStartEvent.ToolExecutionStartEventData) - Method in class com.github.copilot.sdk.generated.ToolExecutionStartEvent
 
setData(ToolUserRequestedEvent.ToolUserRequestedEventData) - Method in class com.github.copilot.sdk.generated.ToolUserRequestedEvent
 
setData(UserInputCompletedEvent.UserInputCompletedEventData) - Method in class com.github.copilot.sdk.generated.UserInputCompletedEvent
 
setData(UserInputRequestedEvent.UserInputRequestedEventData) - Method in class com.github.copilot.sdk.generated.UserInputRequestedEvent
 
setData(UserMessageEvent.UserMessageEventData) - Method in class com.github.copilot.sdk.generated.UserMessageEvent
 
setData(Object) - Method in class com.github.copilot.sdk.json.JsonRpcError
Sets the additional error data.
setData(String) - Method in class com.github.copilot.sdk.json.BlobAttachment
Sets the base64-encoded binary content.
setDefaultReasoningEffort(String) - Method in class com.github.copilot.sdk.json.ModelInfo
Sets the default reasoning effort level.
setDefaultValue(String) - Method in class com.github.copilot.sdk.json.InputOptions
Sets the default value pre-populated in the field.
setDescription(String) - Method in class com.github.copilot.sdk.json.AgentInfo
Sets the description of the agent's purpose.
setDescription(String) - Method in class com.github.copilot.sdk.json.CommandDefinition
Sets the human-readable description shown in the command completion UI.
setDescription(String) - Method in class com.github.copilot.sdk.json.CommandWireDefinition
Sets the description.
setDescription(String) - Method in class com.github.copilot.sdk.json.CustomAgentConfig
Sets a description of the agent's capabilities.
setDescription(String) - Method in class com.github.copilot.sdk.json.InputOptions
Sets the descriptive text shown below the field.
setDisabledSkills(List<String>) - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Sets disabled skills.
setDisabledSkills(List<String>) - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Sets skills that should be disabled for this session.
setDisabledSkills(List<String>) - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Sets disabled skills.
setDisabledSkills(List<String>) - Method in class com.github.copilot.sdk.json.SessionConfig
Sets the list of skill names to disable.
setDisableResume(boolean) - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Sets whether to disable the session.resume event.
setDisableResume(Boolean) - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Sets disable resume flag.
setDisplayName(String) - Method in class com.github.copilot.sdk.json.AgentInfo
Sets the human-readable display name of the agent.
setDisplayName(String) - Method in class com.github.copilot.sdk.json.BlobAttachment
Sets the human-readable display name for the attachment.
setDisplayName(String) - Method in class com.github.copilot.sdk.json.CustomAgentConfig
Sets the human-readable display name.
setElicitation(Boolean) - Method in class com.github.copilot.sdk.json.SessionUiCapabilities
Sets whether the host supports interactive elicitation dialogs.
setElicitationSource(String) - Method in class com.github.copilot.sdk.json.ElicitationContext
Sets the elicitation source.
setEnableConfigDiscovery(Boolean) - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Sets enable config discovery flag.
setEnableConfigDiscovery(Boolean) - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Sets whether to automatically discover MCP server configurations and skill directories from the working directory.
setEnableConfigDiscovery(Boolean) - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Sets enable config discovery flag.
setEnableConfigDiscovery(Boolean) - Method in class com.github.copilot.sdk.json.SessionConfig
Sets whether to automatically discover MCP server configurations and skill directories from the working directory.
setEnabled(Boolean) - Method in class com.github.copilot.sdk.json.InfiniteSessionConfig
Sets whether infinite sessions are enabled.
setEnv(Map<String, String>) - Method in class com.github.copilot.sdk.json.McpStdioServerConfig
Sets the environment variables to pass to the server.
setEnvironment(Map<String, String>) - Method in class com.github.copilot.sdk.json.CopilotClientOptions
Sets environment variables to pass to the CLI process.
setEnvValueMode(String) - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Sets MCP environment variable value mode.
setEnvValueMode(String) - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Sets MCP environment variable value mode.
setEphemeral(Boolean) - Method in class com.github.copilot.sdk.generated.SessionEvent
 
setError(JsonRpcError) - Method in class com.github.copilot.sdk.json.JsonRpcResponse
Sets the error for a failed RPC call.
setEventErrorHandler(EventErrorHandler) - Method in class com.github.copilot.sdk.CopilotSession
Sets a custom error handler for exceptions thrown by event handlers.
setEventErrorPolicy(EventErrorPolicy) - Method in class com.github.copilot.sdk.CopilotSession
Sets the error propagation policy for event dispatch.
setExcludedTools(List<String>) - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Sets excluded tools.
setExcludedTools(List<String>) - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Sets the list of tool names to exclude from this session.
setExcludedTools(List<String>) - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Sets excluded tools.
setExcludedTools(List<String>) - Method in class com.github.copilot.sdk.json.SessionConfig
Sets the list of tool names to exclude from this session.
setExecutor(Executor) - Method in class com.github.copilot.sdk.json.CopilotClientOptions
Sets the executor used for internal asynchronous operations.
setExporterType(String) - Method in class com.github.copilot.sdk.json.TelemetryConfig
Sets the exporter type.
setExtensionData(Map<String, Object>) - Method in class com.github.copilot.sdk.json.PermissionRequest
Sets additional extension data for the request.
setFilePath(String) - Method in class com.github.copilot.sdk.json.TelemetryConfig
Sets the file path for the file exporter.
setForegroundSessionId(String) - Method in class com.github.copilot.sdk.CopilotClient
Requests the TUI to switch to displaying the specified session.
SetForegroundSessionResponse - Record Class in com.github.copilot.sdk.json
Response from session.setForeground RPC call.
SetForegroundSessionResponse(boolean, String) - Constructor for record class com.github.copilot.sdk.json.SetForegroundSessionResponse
Creates an instance of a SetForegroundSessionResponse record class.
setFormat(String) - Method in class com.github.copilot.sdk.json.InputOptions
Sets the semantic format hint.
setGithubToken(String) - Method in class com.github.copilot.sdk.json.CopilotClientOptions
setGitHubToken(String) - Method in class com.github.copilot.sdk.json.CopilotClientOptions
Sets the GitHub token to use for authentication.
setGitRoot(String) - Method in class com.github.copilot.sdk.json.SessionContext
Sets the git repository root directory.
setGitRoot(String) - Method in class com.github.copilot.sdk.json.SessionListFilter
Sets the filter for git root directory.
setHandler(CommandHandler) - Method in class com.github.copilot.sdk.json.CommandDefinition
Sets the handler invoked when the command is executed.
setHeaders(Map<String, String>) - Method in class com.github.copilot.sdk.json.McpHttpServerConfig
Sets optional HTTP headers to include in requests to this server.
setHeaders(Map<String, String>) - Method in class com.github.copilot.sdk.json.ProviderConfig
Sets custom HTTP headers to include in outbound provider requests.
setHooks(SessionHooks) - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Sets hook handlers for session lifecycle events.
setHooks(SessionHooks) - Method in class com.github.copilot.sdk.json.SessionConfig
Sets hook handlers for session lifecycle events.
setHooks(Boolean) - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Sets hooks flag.
setHooks(Boolean) - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Sets hooks flag.
setHost(String) - Method in class com.github.copilot.sdk.json.GetAuthStatusResponse
 
setId(Long) - Method in class com.github.copilot.sdk.json.JsonRpcRequest
Sets the request ID.
setId(Object) - Method in class com.github.copilot.sdk.json.JsonRpcResponse
Sets the response ID.
setId(String) - Method in class com.github.copilot.sdk.json.ModelInfo
 
setId(UUID) - Method in class com.github.copilot.sdk.generated.SessionEvent
 
setIncludeSubAgentStreamingEvents(Boolean) - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Sets include sub-agent streaming events flag.
setIncludeSubAgentStreamingEvents(Boolean) - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Sets whether to include sub-agent streaming events in the event stream.
setIncludeSubAgentStreamingEvents(Boolean) - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Sets include sub-agent streaming events flag.
setIncludeSubAgentStreamingEvents(Boolean) - Method in class com.github.copilot.sdk.json.SessionConfig
Sets whether to include sub-agent streaming events in the event stream.
setInfer(Boolean) - Method in class com.github.copilot.sdk.json.CustomAgentConfig
Sets whether to enable inference mode for this agent.
setInfiniteSessions(InfiniteSessionConfig) - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Sets infinite sessions config.
setInfiniteSessions(InfiniteSessionConfig) - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Sets the infinite session configuration for persistent workspaces and automatic compaction.
setInfiniteSessions(InfiniteSessionConfig) - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Sets infinite sessions config.
setInfiniteSessions(InfiniteSessionConfig) - Method in class com.github.copilot.sdk.json.SessionConfig
Sets the infinite session configuration for persistent workspaces and automatic compaction.
setJsonrpc(String) - Method in class com.github.copilot.sdk.json.JsonRpcRequest
Sets the JSON-RPC version.
setJsonrpc(String) - Method in class com.github.copilot.sdk.json.JsonRpcResponse
Sets the JSON-RPC version.
setKind(PermissionRequestResultKind) - Method in class com.github.copilot.sdk.json.PermissionRequestResult
Sets the result kind using a PermissionRequestResultKind value.
setKind(String) - Method in class com.github.copilot.sdk.json.PermissionRequest
Sets the permission kind.
setKind(String) - Method in class com.github.copilot.sdk.json.PermissionRequestResult
Sets the result kind using a raw string value.
setLimits(ModelCapabilitiesOverride.Limits) - Method in class com.github.copilot.sdk.json.ModelCapabilitiesOverride
Sets the token limit overrides.
setLimits(ModelLimits) - Method in class com.github.copilot.sdk.json.ModelCapabilities
 
setLogin(String) - Method in class com.github.copilot.sdk.json.GetAuthStatusResponse
 
setLogLevel(String) - Method in class com.github.copilot.sdk.json.CopilotClientOptions
Sets the log level for the CLI process.
setMaxContextWindowTokens(int) - Method in class com.github.copilot.sdk.json.ModelLimits
 
setMaxContextWindowTokens(Integer) - Method in class com.github.copilot.sdk.json.ModelCapabilitiesOverride.Limits
Sets the maximum total context window size in tokens.
setMaxLength(Integer) - Method in class com.github.copilot.sdk.json.InputOptions
Sets the maximum character length.
setMaxOutputTokens(Integer) - Method in class com.github.copilot.sdk.json.ModelCapabilitiesOverride.Limits
Sets the maximum number of output tokens.
setMaxPromptImages(int) - Method in class com.github.copilot.sdk.json.ModelVisionLimits
 
setMaxPromptImageSize(int) - Method in class com.github.copilot.sdk.json.ModelVisionLimits
 
setMaxPromptTokens(Integer) - Method in class com.github.copilot.sdk.json.ModelCapabilitiesOverride.Limits
Sets the maximum number of tokens in a prompt.
setMaxPromptTokens(Integer) - Method in class com.github.copilot.sdk.json.ModelLimits
 
setMcpServers(Map<String, McpServerConfig>) - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Sets MCP servers.
setMcpServers(Map<String, McpServerConfig>) - Method in class com.github.copilot.sdk.json.CustomAgentConfig
Sets MCP (Model Context Protocol) servers available to this agent.
setMcpServers(Map<String, McpServerConfig>) - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Sets MCP (Model Context Protocol) server configurations.
setMcpServers(Map<String, McpServerConfig>) - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Sets MCP servers.
setMcpServers(Map<String, McpServerConfig>) - Method in class com.github.copilot.sdk.json.SessionConfig
Sets MCP (Model Context Protocol) server configurations.
setMessage(String) - Method in class com.github.copilot.sdk.json.ElicitationContext
Sets the message.
setMessage(String) - Method in class com.github.copilot.sdk.json.ElicitationParams
Sets the message describing what information is needed from the user.
setMessage(String) - Method in class com.github.copilot.sdk.json.JsonRpcError
Sets the error message.
setMetadata(SessionLifecycleEventMetadata) - Method in class com.github.copilot.sdk.json.SessionLifecycleEvent
 
setMethod(String) - Method in class com.github.copilot.sdk.json.JsonRpcRequest
Sets the method name.
setMimeType(String) - Method in class com.github.copilot.sdk.json.BlobAttachment
Sets the MIME type of the binary content.
setMinLength(Integer) - Method in class com.github.copilot.sdk.json.InputOptions
Sets the minimum character length.
setMode(SystemMessageMode) - Method in class com.github.copilot.sdk.json.SystemMessageConfig
Sets the system message mode.
setMode(String) - Method in class com.github.copilot.sdk.json.ElicitationContext
Sets the mode.
setMode(String) - Method in class com.github.copilot.sdk.json.MessageOptions
Sets the message delivery mode.
setMode(String) - Method in class com.github.copilot.sdk.json.SendMessageRequest
Sets the mode.
setModel(String) - Method in class com.github.copilot.sdk.CopilotSession
Changes the model for this session.
setModel(String) - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Sets the model name.
setModel(String) - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Sets the AI model to use for the resumed session.
setModel(String) - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Sets the model name.
setModel(String) - Method in class com.github.copilot.sdk.json.SessionConfig
Sets the AI model to use for this session.
setModel(String, String) - Method in class com.github.copilot.sdk.CopilotSession
Changes the model for this session with an optional reasoning effort level.
setModel(String, String, ModelCapabilitiesOverride) - Method in class com.github.copilot.sdk.CopilotSession
Changes the model for this session with optional reasoning effort and capability overrides.
setModelCapabilities(ModelCapabilitiesOverride) - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Sets the model capabilities override.
setModelCapabilities(ModelCapabilitiesOverride) - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Sets per-property overrides for model capabilities, deep-merged over runtime defaults.
setModelCapabilities(ModelCapabilitiesOverride) - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Sets the model capabilities override.
setModelCapabilities(ModelCapabilitiesOverride) - Method in class com.github.copilot.sdk.json.SessionConfig
Sets per-property overrides for model capabilities, deep-merged over runtime defaults.
setModels(List<ModelInfo>) - Method in class com.github.copilot.sdk.json.GetModelsResponse
 
setModifiedTime(String) - Method in class com.github.copilot.sdk.json.SessionMetadata
Sets the session modified time.
setMultiplier(double) - Method in class com.github.copilot.sdk.json.ModelBilling
 
setName(String) - Method in class com.github.copilot.sdk.json.AgentInfo
Sets the unique identifier of the agent.
setName(String) - Method in class com.github.copilot.sdk.json.CommandDefinition
Sets the command name (without leading /).
setName(String) - Method in class com.github.copilot.sdk.json.CommandWireDefinition
Sets the command name.
setName(String) - Method in class com.github.copilot.sdk.json.CustomAgentConfig
Sets the unique identifier name for this agent.
setName(String) - Method in class com.github.copilot.sdk.json.ModelInfo
 
setOnElicitationRequest(ElicitationHandler) - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Sets a handler for elicitation requests from the server or MCP tools.
setOnElicitationRequest(ElicitationHandler) - Method in class com.github.copilot.sdk.json.SessionConfig
Sets a handler for elicitation requests from the server or MCP tools.
setOnEvent(Consumer<SessionEvent>) - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Sets an event handler that is registered on the session before the session.resume RPC is issued.
setOnEvent(Consumer<SessionEvent>) - Method in class com.github.copilot.sdk.json.SessionConfig
Sets an event handler that is registered on the session before the session.create RPC is issued.
setOnListModels(Supplier<CompletableFuture<List<ModelInfo>>>) - Method in class com.github.copilot.sdk.json.CopilotClientOptions
Sets a custom handler for listing available models.
setOnPermissionRequest(PermissionHandler) - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Sets a handler for permission requests from the assistant.
setOnPermissionRequest(PermissionHandler) - Method in class com.github.copilot.sdk.json.SessionConfig
Sets a handler for permission requests from the assistant.
setOnPostToolUse(PostToolUseHandler) - Method in class com.github.copilot.sdk.json.SessionHooks
Sets the handler called after a tool has been executed.
setOnPreToolUse(PreToolUseHandler) - Method in class com.github.copilot.sdk.json.SessionHooks
Sets the handler called before a tool is executed.
setOnSessionEnd(SessionEndHandler) - Method in class com.github.copilot.sdk.json.SessionHooks
Sets the handler called when a session ends.
setOnSessionStart(SessionStartHandler) - Method in class com.github.copilot.sdk.json.SessionHooks
Sets the handler called when a session starts.
setOnUserInputRequest(UserInputHandler) - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Sets a handler for user input requests from the agent.
setOnUserInputRequest(UserInputHandler) - Method in class com.github.copilot.sdk.json.SessionConfig
Sets a handler for user input requests from the agent.
setOnUserPromptSubmitted(UserPromptSubmittedHandler) - Method in class com.github.copilot.sdk.json.SessionHooks
Sets the handler called when the user submits a prompt.
setOtlpEndpoint(String) - Method in class com.github.copilot.sdk.json.TelemetryConfig
Sets the OTLP exporter endpoint URL.
setParams(Object) - Method in class com.github.copilot.sdk.json.JsonRpcRequest
Sets the method parameters.
setParentId(UUID) - Method in class com.github.copilot.sdk.generated.SessionEvent
 
setPolicy(ModelPolicy) - Method in class com.github.copilot.sdk.json.ModelInfo
 
setPort(int) - Method in class com.github.copilot.sdk.json.CopilotClientOptions
Sets the TCP port for the CLI server to listen on.
setPrompt(String) - Method in class com.github.copilot.sdk.json.CustomAgentConfig
Sets the system prompt that defines this agent's behavior.
setPrompt(String) - Method in class com.github.copilot.sdk.json.MessageOptions
Sets the message prompt to send to the assistant.
setPrompt(String) - Method in class com.github.copilot.sdk.json.SendMessageRequest
Sets the message prompt.
setProperties(Map<String, Object>) - Method in class com.github.copilot.sdk.json.ElicitationSchema
Sets the form field definitions, keyed by field name.
setProtocolVersion(int) - Method in class com.github.copilot.sdk.json.GetStatusResponse
 
setProvider(SessionFsSetProviderParams) - Method in class com.github.copilot.sdk.generated.rpc.ServerSessionFsApi
Invokes sessionFs.setProvider.
setProvider(ProviderConfig) - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Sets the provider config.
setProvider(ProviderConfig) - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Sets a custom API provider for BYOK scenarios.
setProvider(ProviderConfig) - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Sets the provider config.
setProvider(ProviderConfig) - Method in class com.github.copilot.sdk.json.SessionConfig
Sets a custom API provider for BYOK (Bring Your Own Key) scenarios.
setQuestion(String) - Method in class com.github.copilot.sdk.json.UserInputRequest
Sets the question to ask the user.
setReasoningEffort(boolean) - Method in class com.github.copilot.sdk.json.ModelSupports
Sets whether this model supports reasoning effort configuration.
setReasoningEffort(Boolean) - Method in class com.github.copilot.sdk.json.ModelCapabilitiesOverride.Supports
Sets whether reasoning effort configuration is enabled.
setReasoningEffort(String) - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Sets the reasoning effort.
setReasoningEffort(String) - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Sets the reasoning effort level for models that support it.
setReasoningEffort(String) - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Sets the reasoning effort.
setReasoningEffort(String) - Method in class com.github.copilot.sdk.json.SessionConfig
Sets the reasoning effort level for models that support it.
setRemote(boolean) - Method in class com.github.copilot.sdk.json.SessionMetadata
Sets whether this session is stored remotely.
setRepository(String) - Method in class com.github.copilot.sdk.json.SessionContext
Sets the GitHub repository.
setRepository(String) - Method in class com.github.copilot.sdk.json.SessionListFilter
Sets the filter for repository (in "owner/repo" format).
setRequestedSchema(ElicitationSchema) - Method in class com.github.copilot.sdk.json.ElicitationContext
Sets the schema.
setRequestedSchema(ElicitationSchema) - Method in class com.github.copilot.sdk.json.ElicitationParams
Sets the JSON Schema describing the form fields to present.
setRequestElicitation(Boolean) - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Sets the requestElicitation flag.
setRequestElicitation(Boolean) - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Sets the requestElicitation flag.
setRequestHeaders(Map<String, String>) - Method in class com.github.copilot.sdk.json.MessageOptions
Sets custom per-turn HTTP headers for outbound model requests.
setRequestHeaders(Map<String, String>) - Method in class com.github.copilot.sdk.json.SendMessageRequest
Sets the per-turn request headers.
setRequestPermission(Boolean) - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Sets request permission flag.
setRequestPermission(Boolean) - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Sets request permission flag.
setRequestUserInput(Boolean) - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Sets request user input flag.
setRequestUserInput(Boolean) - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Sets request user input flag.
setRequired(List<String>) - Method in class com.github.copilot.sdk.json.ElicitationSchema
Sets the list of required field names.
setResult(Object) - Method in class com.github.copilot.sdk.json.JsonRpcResponse
Sets the result of the RPC call.
setRules(List<Object>) - Method in class com.github.copilot.sdk.json.PermissionRequestResult
Sets approval rules for future similar requests.
setSections(Map<String, SectionOverride>) - Method in class com.github.copilot.sdk.json.SystemMessageConfig
Sets section-level overrides for SystemMessageMode.CUSTOMIZE mode.
setSessionId(String) - Method in class com.github.copilot.sdk.json.CommandContext
Sets the session ID.
setSessionId(String) - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Sets the session ID.
setSessionId(String) - Method in class com.github.copilot.sdk.json.ElicitationContext
Sets the session ID.
setSessionId(String) - Method in class com.github.copilot.sdk.json.HookInvocation
Sets the session ID.
setSessionId(String) - Method in class com.github.copilot.sdk.json.PermissionInvocation
Sets the session ID.
setSessionId(String) - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Sets the session ID.
setSessionId(String) - Method in class com.github.copilot.sdk.json.SendMessageRequest
Sets the session ID.
setSessionId(String) - Method in class com.github.copilot.sdk.json.SessionConfig
Sets a custom session ID.
setSessionId(String) - Method in class com.github.copilot.sdk.json.SessionLifecycleEvent
 
setSessionId(String) - Method in class com.github.copilot.sdk.json.SessionMetadata
Sets the session identifier.
setSessionId(String) - Method in class com.github.copilot.sdk.json.ToolInvocation
Sets the session ID.
setSessionId(String) - Method in class com.github.copilot.sdk.json.UserInputInvocation
Sets the session ID.
setSkillDirectories(List<String>) - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Sets skill directories.
setSkillDirectories(List<String>) - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Sets directories containing skill definitions.
setSkillDirectories(List<String>) - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Sets skill directories.
setSkillDirectories(List<String>) - Method in class com.github.copilot.sdk.json.SessionConfig
Sets the skill directories for loading custom skills.
setSkills(List<String>) - Method in class com.github.copilot.sdk.json.CustomAgentConfig
Sets the list of skill names to preload into this agent's context.
setSourceName(String) - Method in class com.github.copilot.sdk.json.TelemetryConfig
Sets the source name for telemetry spans.
setStartTime(String) - Method in class com.github.copilot.sdk.json.SessionMetadata
Sets the session start time.
setState(String) - Method in class com.github.copilot.sdk.json.ModelPolicy
 
setStatusMessage(String) - Method in class com.github.copilot.sdk.json.GetAuthStatusResponse
 
setStreaming(boolean) - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Sets whether to enable streaming of response chunks.
setStreaming(boolean) - Method in class com.github.copilot.sdk.json.SessionConfig
Sets whether to enable streaming of response chunks.
setStreaming(Boolean) - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Sets streaming flag.
setStreaming(Boolean) - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Sets streaming flag.
setSummary(String) - Method in class com.github.copilot.sdk.json.SessionMetadata
Sets the session summary.
setSupportedMediaTypes(List<String>) - Method in class com.github.copilot.sdk.json.ModelVisionLimits
 
setSupportedReasoningEfforts(List<String>) - Method in class com.github.copilot.sdk.json.ModelInfo
Sets the supported reasoning effort levels.
setSupports(ModelCapabilitiesOverride.Supports) - Method in class com.github.copilot.sdk.json.ModelCapabilitiesOverride
Sets the feature flag overrides.
setSupports(ModelSupports) - Method in class com.github.copilot.sdk.json.ModelCapabilities
 
setSystemMessage(SystemMessageConfig) - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Sets the system message config.
setSystemMessage(SystemMessageConfig) - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Sets the system message configuration.
setSystemMessage(SystemMessageConfig) - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Sets the system message config.
setSystemMessage(SystemMessageConfig) - Method in class com.github.copilot.sdk.json.SessionConfig
Sets the system message configuration.
setTelemetry(TelemetryConfig) - Method in class com.github.copilot.sdk.json.CopilotClientOptions
Sets the OpenTelemetry configuration for the CLI server.
setTerms(String) - Method in class com.github.copilot.sdk.json.ModelPolicy
 
setTimeout(Integer) - Method in class com.github.copilot.sdk.json.McpHttpServerConfig
 
setTimeout(Integer) - Method in class com.github.copilot.sdk.json.McpServerConfig
Sets an optional timeout in milliseconds for tool calls to this server.
setTimeout(Integer) - Method in class com.github.copilot.sdk.json.McpStdioServerConfig
 
setTimestamp(long) - Method in class com.github.copilot.sdk.json.PostToolUseHookInput
Sets the timestamp of the hook invocation.
setTimestamp(long) - Method in class com.github.copilot.sdk.json.PreToolUseHookInput
Sets the timestamp of the hook invocation.
setTimestamp(OffsetDateTime) - Method in class com.github.copilot.sdk.generated.SessionEvent
 
setTitle(String) - Method in class com.github.copilot.sdk.json.InputOptions
Sets the title label for the input field.
setToolArgs(JsonNode) - Method in class com.github.copilot.sdk.json.PostToolUseHookInput
Sets the arguments passed to the tool.
setToolArgs(JsonNode) - Method in class com.github.copilot.sdk.json.PreToolUseHookInput
Sets the arguments passed to the tool.
setToolCallId(String) - Method in class com.github.copilot.sdk.json.PermissionRequest
Sets the tool call ID.
setToolCallId(String) - Method in class com.github.copilot.sdk.json.ToolInvocation
Sets the tool call ID.
setToolName(String) - Method in class com.github.copilot.sdk.json.PostToolUseHookInput
Sets the name of the tool that was invoked.
setToolName(String) - Method in class com.github.copilot.sdk.json.PreToolUseHookInput
Sets the name of the tool being invoked.
setToolName(String) - Method in class com.github.copilot.sdk.json.ToolInvocation
Sets the tool name.
setToolResult(JsonNode) - Method in class com.github.copilot.sdk.json.PostToolUseHookInput
Sets the result returned by the tool.
setTools(List<ToolDefinition>) - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Sets the tools.
setTools(List<ToolDefinition>) - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Sets custom tools that the assistant can invoke during the session.
setTools(List<ToolDefinition>) - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Sets the tools.
setTools(List<ToolDefinition>) - Method in class com.github.copilot.sdk.json.SessionConfig
Sets custom tools that the assistant can invoke during the session.
setTools(List<String>) - Method in class com.github.copilot.sdk.json.CustomAgentConfig
Sets the tools available to this agent.
setTools(List<String>) - Method in class com.github.copilot.sdk.json.McpHttpServerConfig
 
setTools(List<String>) - Method in class com.github.copilot.sdk.json.McpServerConfig
Sets the list of tools to include from this server.
setTools(List<String>) - Method in class com.github.copilot.sdk.json.McpStdioServerConfig
 
setTransform(Function<String, CompletableFuture<String>>) - Method in class com.github.copilot.sdk.json.SectionOverride
Sets the transform callback for this section.
setType(String) - Method in class com.github.copilot.sdk.json.ElicitationSchema
Sets the schema type indicator.
setType(String) - Method in class com.github.copilot.sdk.json.ProviderConfig
Sets the provider type.
setType(String) - Method in class com.github.copilot.sdk.json.SessionLifecycleEvent
 
setUi(SessionUiCapabilities) - Method in class com.github.copilot.sdk.json.SessionCapabilities
Sets the UI-related capabilities.
setUrl(String) - Method in class com.github.copilot.sdk.json.ElicitationContext
Sets the URL.
setUrl(String) - Method in class com.github.copilot.sdk.json.McpHttpServerConfig
Sets the URL of the remote server.
setUseLoggedInUser(Boolean) - Method in class com.github.copilot.sdk.json.CopilotClientOptions
Sets whether to use the logged-in user for authentication.
setUseStdio(boolean) - Method in class com.github.copilot.sdk.json.CopilotClientOptions
Sets whether to use stdio transport instead of TCP.
setVersion(String) - Method in class com.github.copilot.sdk.json.GetStatusResponse
 
setVision(boolean) - Method in class com.github.copilot.sdk.json.ModelSupports
 
setVision(ModelVisionLimits) - Method in class com.github.copilot.sdk.json.ModelLimits
 
setVision(Boolean) - Method in class com.github.copilot.sdk.json.ModelCapabilitiesOverride.Supports
Sets whether vision (image input) is enabled.
setWasFreeform(boolean) - Method in class com.github.copilot.sdk.json.UserInputResponse
Sets whether the answer was freeform.
setWireApi(String) - Method in class com.github.copilot.sdk.json.ProviderConfig
Sets the wire API format for custom providers.
setWorkingDirectory(String) - Method in class com.github.copilot.sdk.json.CreateSessionRequest
Sets working directory.
setWorkingDirectory(String) - Method in class com.github.copilot.sdk.json.McpStdioServerConfig
Sets the working directory for the server process.
setWorkingDirectory(String) - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
Sets the working directory for the session.
setWorkingDirectory(String) - Method in class com.github.copilot.sdk.json.ResumeSessionRequest
Sets working directory.
setWorkingDirectory(String) - Method in class com.github.copilot.sdk.json.SessionConfig
Sets the working directory for the session.
shell - Variable in class com.github.copilot.sdk.generated.rpc.SessionRpc
API methods for the shell namespace.
SHELL - Enum constant in enum class com.github.copilot.sdk.generated.UserMessageEvent.UserMessageEventData.UserMessageEventDataAgentMode
The shell variant.
shutdownType() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData
Returns the value of the shutdownType record component.
SIGINT - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionShellKillParams.SessionShellKillParamsSignal
The SIGINT variant.
SIGKILL - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionShellKillParams.SessionShellKillParamsSignal
The SIGKILL variant.
signal() - Method in record class com.github.copilot.sdk.generated.rpc.SessionShellKillParams
Returns the value of the signal record component.
SIGTERM - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionShellKillParams.SessionShellKillParamsSignal
The SIGTERM variant.
size() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsStatResult
Returns the value of the size record component.
SkillInvokedEvent - Class in com.github.copilot.sdk.generated
The skill.invoked session event.
SkillInvokedEvent() - Constructor for class com.github.copilot.sdk.generated.SkillInvokedEvent
 
SkillInvokedEvent.SkillInvokedEventData - Record Class in com.github.copilot.sdk.generated
Data payload for SkillInvokedEvent.
SkillInvokedEventData(String, String, String, List<String>, String, String, String) - Constructor for record class com.github.copilot.sdk.generated.SkillInvokedEvent.SkillInvokedEventData
Creates an instance of a SkillInvokedEventData record class.
skills - Variable in class com.github.copilot.sdk.generated.rpc.SessionRpc
API methods for the skills namespace.
skills() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsListResult
Returns the value of the skills record component.
skills() - Method in record class com.github.copilot.sdk.generated.SessionSkillsLoadedEvent.SessionSkillsLoadedEventData
Returns the value of the skills record component.
skipPermission() - Method in record class com.github.copilot.sdk.json.ToolDefinition
Returns the value of the skipPermission record component.
source() - Method in record class com.github.copilot.sdk.generated.rpc.McpDiscoverResult.McpDiscoverResultServersItem
Returns the value of the source record component.
source() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult.SessionExtensionsListResultExtensionsItem
Returns the value of the source record component.
source() - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpListResult.SessionMcpListResultServersItem
Returns the value of the source record component.
source() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsListResult.SessionSkillsListResultSkillsItem
Returns the value of the source record component.
source() - Method in record class com.github.copilot.sdk.generated.SessionCustomAgentsUpdatedEvent.SessionCustomAgentsUpdatedEventData.SessionCustomAgentsUpdatedEventDataAgentsItem
Returns the value of the source record component.
source() - Method in record class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData.SessionExtensionsLoadedEventDataExtensionsItem
Returns the value of the source record component.
source() - Method in record class com.github.copilot.sdk.generated.SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData.SessionMcpServersLoadedEventDataServersItem
Returns the value of the source record component.
source() - Method in record class com.github.copilot.sdk.generated.SessionSkillsLoadedEvent.SessionSkillsLoadedEventData.SessionSkillsLoadedEventDataSkillsItem
Returns the value of the source record component.
source() - Method in record class com.github.copilot.sdk.generated.UserMessageEvent.UserMessageEventData
Returns the value of the source record component.
source() - Method in record class com.github.copilot.sdk.json.SessionStartHookInput
Returns the value of the source record component.
sourceType() - Method in record class com.github.copilot.sdk.generated.SessionHandoffEvent.SessionHandoffEventData
Returns the value of the sourceType record component.
src() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsRenameParams
Returns the value of the src record component.
stack() - Method in record class com.github.copilot.sdk.generated.HookEndEvent.HookEndEventData.HookEndEventDataError
Returns the value of the stack record component.
stack() - Method in record class com.github.copilot.sdk.generated.SessionErrorEvent.SessionErrorEventData
Returns the value of the stack record component.
start() - Method in class com.github.copilot.sdk.CopilotClient
Starts the Copilot client and connects to the server.
start(SessionFleetStartParams) - Method in class com.github.copilot.sdk.generated.rpc.SessionFleetApi
Invokes session.fleet.start.
started() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFleetStartResult
Returns the value of the started record component.
STARTING - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult.SessionExtensionsListResultExtensionsItem.SessionExtensionsListResultExtensionsItemStatus
The starting variant.
STARTING - Enum constant in enum class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData.SessionExtensionsLoadedEventDataExtensionsItem.SessionExtensionsLoadedEventDataExtensionsItemStatus
The starting variant.
startTime() - Method in record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData
Returns the value of the startTime record component.
startTime() - Method in record class com.github.copilot.sdk.json.SessionLifecycleEventMetadata
Returns the value of the startTime record component.
state() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemPolicy
Returns the value of the state record component.
staticClientConfig() - Method in record class com.github.copilot.sdk.generated.McpOauthRequiredEvent.McpOauthRequiredEventData
Returns the value of the staticClientConfig record component.
status() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult.SessionExtensionsListResultExtensionsItem
Returns the value of the status record component.
status() - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpListResult.SessionMcpListResultServersItem
Returns the value of the status record component.
status() - Method in record class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData.SessionExtensionsLoadedEventDataExtensionsItem
Returns the value of the status record component.
status() - Method in record class com.github.copilot.sdk.generated.SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData.SessionMcpServersLoadedEventDataServersItem
Returns the value of the status record component.
status() - Method in record class com.github.copilot.sdk.generated.SessionMcpServerStatusChangedEvent.SessionMcpServerStatusChangedEventData
Returns the value of the status record component.
statusCode() - Method in record class com.github.copilot.sdk.generated.SessionErrorEvent.SessionErrorEventData
Returns the value of the statusCode record component.
stop() - Method in class com.github.copilot.sdk.CopilotClient
Disconnects from the Copilot server and closes all active sessions.
SubagentCompletedEvent - Class in com.github.copilot.sdk.generated
The subagent.completed session event.
SubagentCompletedEvent() - Constructor for class com.github.copilot.sdk.generated.SubagentCompletedEvent
 
SubagentCompletedEvent.SubagentCompletedEventData - Record Class in com.github.copilot.sdk.generated
Data payload for SubagentCompletedEvent.
SubagentCompletedEventData(String, String, String, String, Double, Double, Double) - Constructor for record class com.github.copilot.sdk.generated.SubagentCompletedEvent.SubagentCompletedEventData
Creates an instance of a SubagentCompletedEventData record class.
SubagentDeselectedEvent - Class in com.github.copilot.sdk.generated
The subagent.deselected session event.
SubagentDeselectedEvent() - Constructor for class com.github.copilot.sdk.generated.SubagentDeselectedEvent
 
SubagentDeselectedEvent.SubagentDeselectedEventData - Record Class in com.github.copilot.sdk.generated
Data payload for SubagentDeselectedEvent.
SubagentDeselectedEventData() - Constructor for record class com.github.copilot.sdk.generated.SubagentDeselectedEvent.SubagentDeselectedEventData
Creates an instance of a SubagentDeselectedEventData record class.
SubagentFailedEvent - Class in com.github.copilot.sdk.generated
The subagent.failed session event.
SubagentFailedEvent() - Constructor for class com.github.copilot.sdk.generated.SubagentFailedEvent
 
SubagentFailedEvent.SubagentFailedEventData - Record Class in com.github.copilot.sdk.generated
Data payload for SubagentFailedEvent.
SubagentFailedEventData(String, String, String, String, String, Double, Double, Double) - Constructor for record class com.github.copilot.sdk.generated.SubagentFailedEvent.SubagentFailedEventData
Creates an instance of a SubagentFailedEventData record class.
SubagentSelectedEvent - Class in com.github.copilot.sdk.generated
The subagent.selected session event.
SubagentSelectedEvent() - Constructor for class com.github.copilot.sdk.generated.SubagentSelectedEvent
 
SubagentSelectedEvent.SubagentSelectedEventData - Record Class in com.github.copilot.sdk.generated
Data payload for SubagentSelectedEvent.
SubagentSelectedEventData(String, String, List<String>) - Constructor for record class com.github.copilot.sdk.generated.SubagentSelectedEvent.SubagentSelectedEventData
Creates an instance of a SubagentSelectedEventData record class.
SubagentStartedEvent - Class in com.github.copilot.sdk.generated
The subagent.started session event.
SubagentStartedEvent() - Constructor for class com.github.copilot.sdk.generated.SubagentStartedEvent
 
SubagentStartedEvent.SubagentStartedEventData - Record Class in com.github.copilot.sdk.generated
Data payload for SubagentStartedEvent.
SubagentStartedEventData(String, String, String, String) - Constructor for record class com.github.copilot.sdk.generated.SubagentStartedEvent.SubagentStartedEventData
Creates an instance of a SubagentStartedEventData record class.
success() - Method in record class com.github.copilot.sdk.generated.HookEndEvent.HookEndEventData
Returns the value of the success record component.
success() - Method in record class com.github.copilot.sdk.generated.rpc.SessionCommandsHandlePendingCommandResult
Returns the value of the success record component.
success() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsSetProviderResult
Returns the value of the success record component.
success() - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryCompactResult
Returns the value of the success record component.
success() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPermissionsHandlePendingPermissionRequestResult
Returns the value of the success record component.
success() - Method in record class com.github.copilot.sdk.generated.rpc.SessionToolsHandlePendingToolCallResult
Returns the value of the success record component.
success() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiHandlePendingElicitationResult
Returns the value of the success record component.
success() - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData
Returns the value of the success record component.
success() - Method in record class com.github.copilot.sdk.generated.SessionTaskCompleteEvent.SessionTaskCompleteEventData
Returns the value of the success record component.
success() - Method in record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData
Returns the value of the success record component.
success() - Method in record class com.github.copilot.sdk.json.DeleteSessionResponse
Returns the value of the success record component.
success() - Method in record class com.github.copilot.sdk.json.SetForegroundSessionResponse
Returns the value of the success record component.
success(String) - Static method in record class com.github.copilot.sdk.json.ToolResultObject
Creates a success result with the given text.
summary() - Method in record class com.github.copilot.sdk.generated.ExitPlanModeRequestedEvent.ExitPlanModeRequestedEventData
Returns the value of the summary record component.
summary() - Method in record class com.github.copilot.sdk.generated.SessionHandoffEvent.SessionHandoffEventData
Returns the value of the summary record component.
summary() - Method in record class com.github.copilot.sdk.generated.SessionTaskCompleteEvent.SessionTaskCompleteEventData
Returns the value of the summary record component.
summary() - Method in record class com.github.copilot.sdk.json.SessionLifecycleEventMetadata
Returns the value of the summary record component.
summaryContent() - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData
Returns the value of the summaryContent record component.
supportedMediaTypes() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities.ModelsListResultModelsItemCapabilitiesLimits.ModelsListResultModelsItemCapabilitiesLimitsVision
Returns the value of the supportedMediaTypes record component.
supportedMediaTypes() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities.SessionModelSwitchToParamsModelCapabilitiesLimits.SessionModelSwitchToParamsModelCapabilitiesLimitsVision
Returns the value of the supportedMediaTypes record component.
supportedReasoningEfforts() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem
Returns the value of the supportedReasoningEfforts record component.
supports() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities
Returns the value of the supports record component.
supports() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities
Returns the value of the supports record component.
Supports() - Constructor for class com.github.copilot.sdk.json.ModelCapabilitiesOverride.Supports
 
SUPPRESS_AND_LOG_ERRORS - Enum constant in enum class com.github.copilot.sdk.EventErrorPolicy
Suppress errors: log the error and continue dispatching to remaining listeners.
suppressOutput() - Method in record class com.github.copilot.sdk.json.PostToolUseHookOutput
Returns the value of the suppressOutput record component.
suppressOutput() - Method in record class com.github.copilot.sdk.json.PreToolUseHookOutput
Returns the value of the suppressOutput record component.
suppressOutput() - Method in record class com.github.copilot.sdk.json.SessionEndHookOutput
Returns the value of the suppressOutput record component.
suppressOutput() - Method in record class com.github.copilot.sdk.json.UserPromptSubmittedHookOutput
Returns the value of the suppressOutput record component.
switchTo(SessionModelSwitchToParams) - Method in class com.github.copilot.sdk.generated.rpc.SessionModelApi
Invokes session.model.switchTo.
SYSTEM - Enum constant in enum class com.github.copilot.sdk.generated.SystemMessageEvent.SystemMessageEventData.SystemMessageEventDataRole
The system variant.
SystemMessageConfig - Class in com.github.copilot.sdk.json
Configuration for customizing the system message.
SystemMessageConfig() - Constructor for class com.github.copilot.sdk.json.SystemMessageConfig
 
SystemMessageEvent - Class in com.github.copilot.sdk.generated
The system.message session event.
SystemMessageEvent() - Constructor for class com.github.copilot.sdk.generated.SystemMessageEvent
 
SystemMessageEvent.SystemMessageEventData - Record Class in com.github.copilot.sdk.generated
Data payload for SystemMessageEvent.
SystemMessageEvent.SystemMessageEventData.SystemMessageEventDataMetadata - Record Class in com.github.copilot.sdk.generated
Metadata about the prompt template and its construction
SystemMessageEvent.SystemMessageEventData.SystemMessageEventDataRole - Enum Class in com.github.copilot.sdk.generated
Message role: "system" for system prompts, "developer" for developer-injected instructions
SystemMessageEventData(String, SystemMessageEvent.SystemMessageEventData.SystemMessageEventDataRole, String, SystemMessageEvent.SystemMessageEventData.SystemMessageEventDataMetadata) - Constructor for record class com.github.copilot.sdk.generated.SystemMessageEvent.SystemMessageEventData
Creates an instance of a SystemMessageEventData record class.
SystemMessageEventDataMetadata(String, Map<String, Object>) - Constructor for record class com.github.copilot.sdk.generated.SystemMessageEvent.SystemMessageEventData.SystemMessageEventDataMetadata
Creates an instance of a SystemMessageEventDataMetadata record class.
SystemMessageMode - Enum Class in com.github.copilot.sdk
Specifies how the system message should be applied to a session.
SystemNotificationEvent - Class in com.github.copilot.sdk.generated
The system.notification session event.
SystemNotificationEvent() - Constructor for class com.github.copilot.sdk.generated.SystemNotificationEvent
 
SystemNotificationEvent.SystemNotificationEventData - Record Class in com.github.copilot.sdk.generated
Data payload for SystemNotificationEvent.
SystemNotificationEventData(String, Object) - Constructor for record class com.github.copilot.sdk.generated.SystemNotificationEvent.SystemNotificationEventData
Creates an instance of a SystemNotificationEventData record class.
SystemPromptSections - Class in com.github.copilot.sdk.json
Well-known system prompt section identifiers for use with SystemMessageMode#CUSTOMIZE mode.
systemTokens() - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryCompactResult.SessionHistoryCompactResultContextWindow
Returns the value of the systemTokens record component.
systemTokens() - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData
Returns the value of the systemTokens record component.
systemTokens() - Method in record class com.github.copilot.sdk.generated.SessionCompactionStartEvent.SessionCompactionStartEventData
Returns the value of the systemTokens record component.
systemTokens() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData
Returns the value of the systemTokens record component.
systemTokens() - Method in record class com.github.copilot.sdk.generated.SessionUsageInfoEvent.SessionUsageInfoEventData
Returns the value of the systemTokens record component.

T

TelemetryConfig - Class in com.github.copilot.sdk.json
OpenTelemetry configuration for the Copilot CLI server.
TelemetryConfig() - Constructor for class com.github.copilot.sdk.json.TelemetryConfig
 
terms() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemPolicy
Returns the value of the terms record component.
textResultForLlm() - Method in record class com.github.copilot.sdk.json.ToolResultObject
Returns the value of the textResultForLlm record component.
timeout() - Method in record class com.github.copilot.sdk.generated.rpc.SessionShellExecParams
Returns the value of the timeout record component.
timestamp() - Method in record class com.github.copilot.sdk.generated.rpc.PingResult
Returns the value of the timestamp record component.
timestamp() - Method in record class com.github.copilot.sdk.json.PingResponse
Returns the value of the timestamp record component.
timestamp() - Method in record class com.github.copilot.sdk.json.SessionEndHookInput
Returns the value of the timestamp record component.
timestamp() - Method in record class com.github.copilot.sdk.json.SessionStartHookInput
Returns the value of the timestamp record component.
timestamp() - Method in record class com.github.copilot.sdk.json.UserPromptSubmittedHookInput
Returns the value of the timestamp record component.
title() - Method in record class com.github.copilot.sdk.generated.SessionTitleChangedEvent.SessionTitleChangedEventData
Returns the value of the title record component.
toEventId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionsForkParams
Returns the value of the toEventId record component.
tokenCount() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataCopilotUsage.AssistantUsageEventDataCopilotUsageTokenDetailsItem
Returns the value of the tokenCount record component.
tokenDetails() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataCopilotUsage
Returns the value of the tokenDetails record component.
tokenLimit() - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryCompactResult.SessionHistoryCompactResultContextWindow
Returns the value of the tokenLimit record component.
tokenLimit() - Method in record class com.github.copilot.sdk.generated.SessionTruncationEvent.SessionTruncationEventData
Returns the value of the tokenLimit record component.
tokenLimit() - Method in record class com.github.copilot.sdk.generated.SessionUsageInfoEvent.SessionUsageInfoEventData
Returns the value of the tokenLimit record component.
tokensRemoved() - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryCompactResult
Returns the value of the tokensRemoved record component.
tokensRemoved() - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData
Returns the value of the tokensRemoved record component.
tokensRemovedDuringTruncation() - Method in record class com.github.copilot.sdk.generated.SessionTruncationEvent.SessionTruncationEventData
Returns the value of the tokensRemovedDuringTruncation record component.
tokenType() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataCopilotUsage.AssistantUsageEventDataCopilotUsageTokenDetailsItem
Returns the value of the tokenType record component.
TONE - Static variable in class com.github.copilot.sdk.json.SystemPromptSections
Response style, conciseness rules, output formatting preferences.
TOOL_EFFICIENCY - Static variable in class com.github.copilot.sdk.json.SystemPromptSections
Tool usage patterns, parallel calling, batching guidelines.
TOOL_INSTRUCTIONS - Static variable in class com.github.copilot.sdk.json.SystemPromptSections
Per-tool usage instructions.
ToolBinaryResult - Record Class in com.github.copilot.sdk.json
Binary result from a tool execution.
ToolBinaryResult(String, String, String, String) - Constructor for record class com.github.copilot.sdk.json.ToolBinaryResult
Creates an instance of a ToolBinaryResult record class.
toolCallId() - Method in record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData.AssistantMessageEventDataToolRequestsItem
Returns the value of the toolCallId record component.
toolCallId() - Method in record class com.github.copilot.sdk.generated.ElicitationRequestedEvent.ElicitationRequestedEventData
Returns the value of the toolCallId record component.
toolCallId() - Method in record class com.github.copilot.sdk.generated.ExternalToolRequestedEvent.ExternalToolRequestedEventData
Returns the value of the toolCallId record component.
toolCallId() - Method in record class com.github.copilot.sdk.generated.SubagentCompletedEvent.SubagentCompletedEventData
Returns the value of the toolCallId record component.
toolCallId() - Method in record class com.github.copilot.sdk.generated.SubagentFailedEvent.SubagentFailedEventData
Returns the value of the toolCallId record component.
toolCallId() - Method in record class com.github.copilot.sdk.generated.SubagentStartedEvent.SubagentStartedEventData
Returns the value of the toolCallId record component.
toolCallId() - Method in record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData
Returns the value of the toolCallId record component.
toolCallId() - Method in record class com.github.copilot.sdk.generated.ToolExecutionPartialResultEvent.ToolExecutionPartialResultEventData
Returns the value of the toolCallId record component.
toolCallId() - Method in record class com.github.copilot.sdk.generated.ToolExecutionProgressEvent.ToolExecutionProgressEventData
Returns the value of the toolCallId record component.
toolCallId() - Method in record class com.github.copilot.sdk.generated.ToolExecutionStartEvent.ToolExecutionStartEventData
Returns the value of the toolCallId record component.
toolCallId() - Method in record class com.github.copilot.sdk.generated.ToolUserRequestedEvent.ToolUserRequestedEventData
Returns the value of the toolCallId record component.
toolCallId() - Method in record class com.github.copilot.sdk.generated.UserInputRequestedEvent.UserInputRequestedEventData
Returns the value of the toolCallId record component.
ToolDefinition - Record Class in com.github.copilot.sdk.json
Defines a tool that can be invoked by the AI assistant.
ToolDefinition(String, String, Object, ToolHandler, Boolean, Boolean) - Constructor for record class com.github.copilot.sdk.json.ToolDefinition
Creates an instance of a ToolDefinition record class.
toolDefinitionsTokens() - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryCompactResult.SessionHistoryCompactResultContextWindow
Returns the value of the toolDefinitionsTokens record component.
toolDefinitionsTokens() - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData
Returns the value of the toolDefinitionsTokens record component.
toolDefinitionsTokens() - Method in record class com.github.copilot.sdk.generated.SessionCompactionStartEvent.SessionCompactionStartEventData
Returns the value of the toolDefinitionsTokens record component.
toolDefinitionsTokens() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData
Returns the value of the toolDefinitionsTokens record component.
toolDefinitionsTokens() - Method in record class com.github.copilot.sdk.generated.SessionUsageInfoEvent.SessionUsageInfoEventData
Returns the value of the toolDefinitionsTokens record component.
ToolExecutionCompleteEvent - Class in com.github.copilot.sdk.generated
The tool.execution_complete session event.
ToolExecutionCompleteEvent() - Constructor for class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent
 
ToolExecutionCompleteEvent.ToolExecutionCompleteEventData - Record Class in com.github.copilot.sdk.generated
Data payload for ToolExecutionCompleteEvent.
ToolExecutionCompleteEvent.ToolExecutionCompleteEventData.ToolExecutionCompleteEventDataError - Record Class in com.github.copilot.sdk.generated
Error details when the tool execution failed
ToolExecutionCompleteEvent.ToolExecutionCompleteEventData.ToolExecutionCompleteEventDataResult - Record Class in com.github.copilot.sdk.generated
Tool execution result on success
ToolExecutionCompleteEventData(String, Boolean, String, String, Boolean, ToolExecutionCompleteEvent.ToolExecutionCompleteEventData.ToolExecutionCompleteEventDataResult, ToolExecutionCompleteEvent.ToolExecutionCompleteEventData.ToolExecutionCompleteEventDataError, Map<String, Object>, String) - Constructor for record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData
Creates an instance of a ToolExecutionCompleteEventData record class.
ToolExecutionCompleteEventDataError(String, String) - Constructor for record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData.ToolExecutionCompleteEventDataError
Creates an instance of a ToolExecutionCompleteEventDataError record class.
ToolExecutionCompleteEventDataResult(String, String, List<Object>) - Constructor for record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData.ToolExecutionCompleteEventDataResult
Creates an instance of a ToolExecutionCompleteEventDataResult record class.
ToolExecutionPartialResultEvent - Class in com.github.copilot.sdk.generated
The tool.execution_partial_result session event.
ToolExecutionPartialResultEvent() - Constructor for class com.github.copilot.sdk.generated.ToolExecutionPartialResultEvent
 
ToolExecutionPartialResultEvent.ToolExecutionPartialResultEventData - Record Class in com.github.copilot.sdk.generated
ToolExecutionPartialResultEventData(String, String) - Constructor for record class com.github.copilot.sdk.generated.ToolExecutionPartialResultEvent.ToolExecutionPartialResultEventData
Creates an instance of a ToolExecutionPartialResultEventData record class.
ToolExecutionProgressEvent - Class in com.github.copilot.sdk.generated
The tool.execution_progress session event.
ToolExecutionProgressEvent() - Constructor for class com.github.copilot.sdk.generated.ToolExecutionProgressEvent
 
ToolExecutionProgressEvent.ToolExecutionProgressEventData - Record Class in com.github.copilot.sdk.generated
Data payload for ToolExecutionProgressEvent.
ToolExecutionProgressEventData(String, String) - Constructor for record class com.github.copilot.sdk.generated.ToolExecutionProgressEvent.ToolExecutionProgressEventData
Creates an instance of a ToolExecutionProgressEventData record class.
ToolExecutionStartEvent - Class in com.github.copilot.sdk.generated
The tool.execution_start session event.
ToolExecutionStartEvent() - Constructor for class com.github.copilot.sdk.generated.ToolExecutionStartEvent
 
ToolExecutionStartEvent.ToolExecutionStartEventData - Record Class in com.github.copilot.sdk.generated
Data payload for ToolExecutionStartEvent.
ToolExecutionStartEventData(String, String, Object, String, String, String) - Constructor for record class com.github.copilot.sdk.generated.ToolExecutionStartEvent.ToolExecutionStartEventData
Creates an instance of a ToolExecutionStartEventData record class.
ToolHandler - Interface in com.github.copilot.sdk.json
Functional interface for handling tool invocations from the AI assistant.
ToolInvocation - Class in com.github.copilot.sdk.json
Represents a tool invocation request from the AI assistant.
ToolInvocation() - Constructor for class com.github.copilot.sdk.json.ToolInvocation
 
toolName() - Method in record class com.github.copilot.sdk.generated.ExternalToolRequestedEvent.ExternalToolRequestedEventData
Returns the value of the toolName record component.
toolName() - Method in record class com.github.copilot.sdk.generated.ToolExecutionStartEvent.ToolExecutionStartEventData
Returns the value of the toolName record component.
toolName() - Method in record class com.github.copilot.sdk.generated.ToolUserRequestedEvent.ToolUserRequestedEventData
Returns the value of the toolName record component.
toolRequests() - Method in record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData
Returns the value of the toolRequests record component.
ToolResultObject - Record Class in com.github.copilot.sdk.json
Result object returned from a tool execution.
ToolResultObject(String, String, List<ToolBinaryResult>, String, String, Map<String, Object>) - Constructor for record class com.github.copilot.sdk.json.ToolResultObject
Creates an instance of a ToolResultObject record class.
tools - Variable in class com.github.copilot.sdk.generated.rpc.ServerRpc
API methods for the tools namespace.
tools - Variable in class com.github.copilot.sdk.generated.rpc.SessionRpc
API methods for the tools namespace.
tools() - Method in record class com.github.copilot.sdk.generated.rpc.ToolsListResult
Returns the value of the tools record component.
tools() - Method in record class com.github.copilot.sdk.generated.SessionCustomAgentsUpdatedEvent.SessionCustomAgentsUpdatedEventData.SessionCustomAgentsUpdatedEventDataAgentsItem
Returns the value of the tools record component.
tools() - Method in record class com.github.copilot.sdk.generated.SubagentSelectedEvent.SubagentSelectedEventData
Returns the value of the tools record component.
ToolsListParams - Record Class in com.github.copilot.sdk.generated.rpc
Request parameters for the tools.list RPC method.
ToolsListParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.ToolsListParams
Creates an instance of a ToolsListParams record class.
ToolsListResult - Record Class in com.github.copilot.sdk.generated.rpc
Result for the tools.list RPC method.
ToolsListResult(List<ToolsListResult.ToolsListResultToolsItem>) - Constructor for record class com.github.copilot.sdk.generated.rpc.ToolsListResult
Creates an instance of a ToolsListResult record class.
ToolsListResult.ToolsListResultToolsItem - Record Class in com.github.copilot.sdk.generated.rpc
 
ToolsListResultToolsItem(String, String, String, Map<String, Object>, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.ToolsListResult.ToolsListResultToolsItem
Creates an instance of a ToolsListResultToolsItem record class.
toolTelemetry() - Method in record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData
Returns the value of the toolTelemetry record component.
toolTelemetry() - Method in record class com.github.copilot.sdk.json.ToolResultObject
Returns the value of the toolTelemetry record component.
toolTitle() - Method in record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData.AssistantMessageEventDataToolRequestsItem
Returns the value of the toolTitle record component.
ToolUserRequestedEvent - Class in com.github.copilot.sdk.generated
The tool.user_requested session event.
ToolUserRequestedEvent() - Constructor for class com.github.copilot.sdk.generated.ToolUserRequestedEvent
 
ToolUserRequestedEvent.ToolUserRequestedEventData - Record Class in com.github.copilot.sdk.generated
Data payload for ToolUserRequestedEvent.
ToolUserRequestedEventData(String, String, Object) - Constructor for record class com.github.copilot.sdk.generated.ToolUserRequestedEvent.ToolUserRequestedEventData
Creates an instance of a ToolUserRequestedEventData record class.
toString() - Method in record class com.github.copilot.sdk.generated.AbortEvent.AbortEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.AssistantIntentEvent.AssistantIntentEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.AssistantMessageDeltaEvent.AssistantMessageDeltaEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData.AssistantMessageEventDataToolRequestsItem
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.AssistantReasoningDeltaEvent.AssistantReasoningDeltaEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.AssistantReasoningEvent.AssistantReasoningEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.AssistantStreamingDeltaEvent.AssistantStreamingDeltaEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.AssistantTurnEndEvent.AssistantTurnEndEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.AssistantTurnStartEvent.AssistantTurnStartEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataCopilotUsage.AssistantUsageEventDataCopilotUsageTokenDetailsItem
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataCopilotUsage
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataQuotaSnapshotsValue
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.CapabilitiesChangedEvent.CapabilitiesChangedEventData.CapabilitiesChangedEventDataUi
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.CapabilitiesChangedEvent.CapabilitiesChangedEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.CommandCompletedEvent.CommandCompletedEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.CommandExecuteEvent.CommandExecuteEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.CommandQueuedEvent.CommandQueuedEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.CommandsChangedEvent.CommandsChangedEventData.CommandsChangedEventDataCommandsItem
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.CommandsChangedEvent.CommandsChangedEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.ElicitationCompletedEvent.ElicitationCompletedEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.ElicitationRequestedEvent.ElicitationRequestedEventData.ElicitationRequestedEventDataRequestedSchema
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.ElicitationRequestedEvent.ElicitationRequestedEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.ExitPlanModeCompletedEvent.ExitPlanModeCompletedEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.ExitPlanModeRequestedEvent.ExitPlanModeRequestedEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.ExternalToolCompletedEvent.ExternalToolCompletedEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.ExternalToolRequestedEvent.ExternalToolRequestedEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.HookEndEvent.HookEndEventData.HookEndEventDataError
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.HookEndEvent.HookEndEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.HookStartEvent.HookStartEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.McpOauthCompletedEvent.McpOauthCompletedEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.McpOauthRequiredEvent.McpOauthRequiredEventData.McpOauthRequiredEventDataStaticClientConfig
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.McpOauthRequiredEvent.McpOauthRequiredEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.PendingMessagesModifiedEvent.PendingMessagesModifiedEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.PermissionCompletedEvent.PermissionCompletedEventData.PermissionCompletedEventDataResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.PermissionCompletedEvent.PermissionCompletedEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.PermissionRequestedEvent.PermissionRequestedEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.AccountGetQuotaResult.AccountGetQuotaResultQuotaSnapshotsValue
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.AccountGetQuotaResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.McpConfigAddParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.McpConfigListResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.McpConfigRemoveParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.McpConfigUpdateParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.McpDiscoverParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.McpDiscoverResult.McpDiscoverResultServersItem
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.McpDiscoverResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemBilling
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities.ModelsListResultModelsItemCapabilitiesLimits.ModelsListResultModelsItemCapabilitiesLimitsVision
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities.ModelsListResultModelsItemCapabilitiesLimits
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities.ModelsListResultModelsItemCapabilitiesSupports
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemPolicy
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.PingParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.PingResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentDeselectParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentDeselectResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentGetCurrentParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentGetCurrentResult.SessionAgentGetCurrentResultAgent
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentGetCurrentResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentListParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentListResult.SessionAgentListResultAgentsItem
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentListResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentReloadParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentReloadResult.SessionAgentReloadResultAgentsItem
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentReloadResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentSelectParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentSelectResult.SessionAgentSelectResultAgent
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentSelectResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionCommandsHandlePendingCommandParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionCommandsHandlePendingCommandResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsDisableParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsDisableResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsEnableParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsEnableResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsListParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult.SessionExtensionsListResultExtensionsItem
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsReloadParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsReloadResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFleetStartParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFleetStartResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsAppendFileParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsExistsParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsExistsResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsMkdirParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReaddirParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReaddirResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReaddirWithTypesParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReaddirWithTypesResult.SessionFsReaddirWithTypesResultEntriesItem
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReaddirWithTypesResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReadFileParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReadFileResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsRenameParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsRmParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsSetProviderParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsSetProviderResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsStatParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsStatResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsWriteFileParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryCompactParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryCompactResult.SessionHistoryCompactResultContextWindow
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryCompactResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryTruncateParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryTruncateResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionLogParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionLogResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpDisableParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpDisableResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpEnableParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpEnableResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpListParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpListResult.SessionMcpListResultServersItem
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpListResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpReloadParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpReloadResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModeGetParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModeGetResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelGetCurrentParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelGetCurrentResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities.SessionModelSwitchToParamsModelCapabilitiesLimits.SessionModelSwitchToParamsModelCapabilitiesLimitsVision
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities.SessionModelSwitchToParamsModelCapabilitiesLimits
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities.SessionModelSwitchToParamsModelCapabilitiesSupports
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModeSetParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModeSetResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPermissionsHandlePendingPermissionRequestParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPermissionsHandlePendingPermissionRequestResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPlanDeleteParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPlanDeleteResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPlanReadParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPlanReadResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPlanUpdateParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPlanUpdateResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPluginsListParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPluginsListResult.SessionPluginsListResultPluginsItem
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPluginsListResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionsForkParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionsForkResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionShellExecParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionShellExecResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionShellKillParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionShellKillResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsDisableParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsDisableResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsEnableParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsEnableResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsListParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsListResult.SessionSkillsListResultSkillsItem
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsListResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsReloadParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsReloadResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionToolsHandlePendingToolCallParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionToolsHandlePendingToolCallResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiElicitationParams.SessionUiElicitationParamsRequestedSchema
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiElicitationParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiElicitationResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiHandlePendingElicitationParams.SessionUiHandlePendingElicitationParamsResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiHandlePendingElicitationParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiHandlePendingElicitationResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.SessionUsageGetMetricsResultCodeChanges
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.SessionUsageGetMetricsResultModelMetricsValue.SessionUsageGetMetricsResultModelMetricsValueRequests
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.SessionUsageGetMetricsResultModelMetricsValue.SessionUsageGetMetricsResultModelMetricsValueUsage
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.SessionUsageGetMetricsResultModelMetricsValue
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceCreateFileParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceCreateFileResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceListFilesParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceListFilesResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceReadFileParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceReadFileResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.ToolsListParams
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.ToolsListResult.ToolsListResultToolsItem
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.rpc.ToolsListResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SamplingCompletedEvent.SamplingCompletedEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SamplingRequestedEvent.SamplingRequestedEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SessionBackgroundTasksChangedEvent.SessionBackgroundTasksChangedEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData.SessionCompactionCompleteEventDataCompactionTokensUsed
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SessionCompactionStartEvent.SessionCompactionStartEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SessionContextChangedEvent.SessionContextChangedEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SessionCustomAgentsUpdatedEvent.SessionCustomAgentsUpdatedEventData.SessionCustomAgentsUpdatedEventDataAgentsItem
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SessionCustomAgentsUpdatedEvent.SessionCustomAgentsUpdatedEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SessionErrorEvent.SessionErrorEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData.SessionExtensionsLoadedEventDataExtensionsItem
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SessionHandoffEvent.SessionHandoffEventData.SessionHandoffEventDataRepository
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SessionHandoffEvent.SessionHandoffEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SessionIdleEvent.SessionIdleEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SessionInfoEvent.SessionInfoEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData.SessionMcpServersLoadedEventDataServersItem
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SessionMcpServerStatusChangedEvent.SessionMcpServerStatusChangedEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SessionModeChangedEvent.SessionModeChangedEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SessionModelChangeEvent.SessionModelChangeEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SessionPlanChangedEvent.SessionPlanChangedEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SessionRemoteSteerableChangedEvent.SessionRemoteSteerableChangedEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData.SessionResumeEventDataContext
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataCodeChanges
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataModelMetricsValue.SessionShutdownEventDataModelMetricsValueRequests
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataModelMetricsValue.SessionShutdownEventDataModelMetricsValueUsage
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataModelMetricsValue
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SessionSkillsLoadedEvent.SessionSkillsLoadedEventData.SessionSkillsLoadedEventDataSkillsItem
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SessionSkillsLoadedEvent.SessionSkillsLoadedEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SessionSnapshotRewindEvent.SessionSnapshotRewindEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData.SessionStartEventDataContext
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SessionTaskCompleteEvent.SessionTaskCompleteEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SessionTitleChangedEvent.SessionTitleChangedEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SessionToolsUpdatedEvent.SessionToolsUpdatedEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SessionTruncationEvent.SessionTruncationEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SessionUsageInfoEvent.SessionUsageInfoEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SessionWarningEvent.SessionWarningEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SessionWorkspaceFileChangedEvent.SessionWorkspaceFileChangedEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SkillInvokedEvent.SkillInvokedEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SubagentCompletedEvent.SubagentCompletedEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SubagentDeselectedEvent.SubagentDeselectedEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SubagentFailedEvent.SubagentFailedEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SubagentSelectedEvent.SubagentSelectedEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SubagentStartedEvent.SubagentStartedEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SystemMessageEvent.SystemMessageEventData.SystemMessageEventDataMetadata
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SystemMessageEvent.SystemMessageEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.SystemNotificationEvent.SystemNotificationEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData.ToolExecutionCompleteEventDataError
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData.ToolExecutionCompleteEventDataResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.ToolExecutionPartialResultEvent.ToolExecutionPartialResultEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.ToolExecutionProgressEvent.ToolExecutionProgressEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.ToolExecutionStartEvent.ToolExecutionStartEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.ToolUserRequestedEvent.ToolUserRequestedEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.UserInputCompletedEvent.UserInputCompletedEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.UserInputRequestedEvent.UserInputRequestedEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.generated.UserMessageEvent.UserMessageEventData
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.json.Attachment
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.json.CreateSessionResponse
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.json.DeleteSessionResponse
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.json.GetForegroundSessionResponse
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.json.GetLastSessionIdResponse
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.json.GetMessagesResponse
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.json.GetSessionMetadataResponse
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.json.ListSessionsResponse
Returns a string representation of this record class.
toString() - Method in class com.github.copilot.sdk.json.PermissionRequestResultKind
 
toString() - Method in record class com.github.copilot.sdk.json.PingResponse
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.json.PostToolUseHookOutput
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.json.PreToolUseHookOutput
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.json.ResumeSessionResponse
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.json.SendMessageResponse
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.json.SessionEndHookInput
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.json.SessionEndHookOutput
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.json.SessionLifecycleEventMetadata
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.json.SessionStartHookInput
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.json.SessionStartHookOutput
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.json.SetForegroundSessionResponse
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.json.ToolBinaryResult
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.json.ToolDefinition
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.json.ToolResultObject
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.json.UserPromptSubmittedHookInput
Returns a string representation of this record class.
toString() - Method in record class com.github.copilot.sdk.json.UserPromptSubmittedHookOutput
Returns a string representation of this record class.
totalApiDurationMs() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult
Returns the value of the totalApiDurationMs record component.
totalApiDurationMs() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData
Returns the value of the totalApiDurationMs record component.
totalNanoAiu() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataCopilotUsage
Returns the value of the totalNanoAiu record component.
totalPremiumRequestCost() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult
Returns the value of the totalPremiumRequestCost record component.
totalPremiumRequests() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData
Returns the value of the totalPremiumRequests record component.
totalResponseSizeBytes() - Method in record class com.github.copilot.sdk.generated.AssistantStreamingDeltaEvent.AssistantStreamingDeltaEventData
Returns the value of the totalResponseSizeBytes record component.
totalTokens() - Method in record class com.github.copilot.sdk.generated.SubagentCompletedEvent.SubagentCompletedEventData
Returns the value of the totalTokens record component.
totalTokens() - Method in record class com.github.copilot.sdk.generated.SubagentFailedEvent.SubagentFailedEventData
Returns the value of the totalTokens record component.
totalToolCalls() - Method in record class com.github.copilot.sdk.generated.SubagentCompletedEvent.SubagentCompletedEventData
Returns the value of the totalToolCalls record component.
totalToolCalls() - Method in record class com.github.copilot.sdk.generated.SubagentFailedEvent.SubagentFailedEventData
Returns the value of the totalToolCalls record component.
totalUserRequests() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult
Returns the value of the totalUserRequests record component.
traceparent() - Method in record class com.github.copilot.sdk.generated.ExternalToolRequestedEvent.ExternalToolRequestedEventData
Returns the value of the traceparent record component.
tracestate() - Method in record class com.github.copilot.sdk.generated.ExternalToolRequestedEvent.ExternalToolRequestedEventData
Returns the value of the tracestate record component.
TRANSFORM - Enum constant in enum class com.github.copilot.sdk.json.SectionOverrideAction
Transform the section content via a callback.
transformedContent() - Method in record class com.github.copilot.sdk.generated.UserMessageEvent.UserMessageEventData
Returns the value of the transformedContent record component.
truncate(SessionHistoryTruncateParams) - Method in class com.github.copilot.sdk.generated.rpc.SessionHistoryApi
Invokes session.history.truncate.
ttftMs() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData
Returns the value of the ttftMs record component.
turnId() - Method in record class com.github.copilot.sdk.generated.AssistantTurnEndEvent.AssistantTurnEndEventData
Returns the value of the turnId record component.
turnId() - Method in record class com.github.copilot.sdk.generated.AssistantTurnStartEvent.AssistantTurnStartEventData
Returns the value of the turnId record component.
type() - Method in record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData.AssistantMessageEventDataToolRequestsItem
Returns the value of the type record component.
type() - Method in record class com.github.copilot.sdk.generated.ElicitationRequestedEvent.ElicitationRequestedEventData.ElicitationRequestedEventDataRequestedSchema
Returns the value of the type record component.
type() - Method in record class com.github.copilot.sdk.generated.rpc.McpDiscoverResult.McpDiscoverResultServersItem
Returns the value of the type record component.
type() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReaddirWithTypesResult.SessionFsReaddirWithTypesResultEntriesItem
Returns the value of the type record component.
type() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiElicitationParams.SessionUiElicitationParamsRequestedSchema
Returns the value of the type record component.
type() - Method in record class com.github.copilot.sdk.json.Attachment
Returns the value of the type record component.
type() - Method in record class com.github.copilot.sdk.json.ToolBinaryResult
Returns the value of the type record component.

U

ui - Variable in class com.github.copilot.sdk.generated.rpc.SessionRpc
API methods for the ui namespace.
ui() - Method in record class com.github.copilot.sdk.generated.CapabilitiesChangedEvent.CapabilitiesChangedEventData
Returns the value of the ui record component.
UnknownSessionEvent - Class in com.github.copilot.sdk.generated
Fallback for event types not yet known to this SDK version.
UnknownSessionEvent() - Constructor for class com.github.copilot.sdk.generated.UnknownSessionEvent
 
update(McpConfigUpdateParams) - Method in class com.github.copilot.sdk.generated.rpc.ServerMcpConfigApi
Invokes mcp.config.update.
update(SessionPlanUpdateParams) - Method in class com.github.copilot.sdk.generated.rpc.SessionPlanApi
Invokes session.plan.update.
UPDATE - Enum constant in enum class com.github.copilot.sdk.generated.SessionPlanChangedEvent.SessionPlanChangedEventData.SessionPlanChangedEventDataOperation
The update variant.
UPDATE - Enum constant in enum class com.github.copilot.sdk.generated.SessionWorkspaceFileChangedEvent.SessionWorkspaceFileChangedEventData.SessionWorkspaceFileChangedEventDataOperation
The update variant.
UPDATED - Static variable in class com.github.copilot.sdk.json.SessionLifecycleEventTypes
Event fired when a session is updated.
upToEventId() - Method in record class com.github.copilot.sdk.generated.SessionSnapshotRewindEvent.SessionSnapshotRewindEventData
Returns the value of the upToEventId record component.
url() - Method in record class com.github.copilot.sdk.generated.ElicitationRequestedEvent.ElicitationRequestedEventData
Returns the value of the url record component.
url() - Method in record class com.github.copilot.sdk.generated.rpc.SessionLogParams
Returns the value of the url record component.
url() - Method in record class com.github.copilot.sdk.generated.SessionErrorEvent.SessionErrorEventData
Returns the value of the url record component.
url() - Method in record class com.github.copilot.sdk.generated.SessionInfoEvent.SessionInfoEventData
Returns the value of the url record component.
url() - Method in record class com.github.copilot.sdk.generated.SessionWarningEvent.SessionWarningEventData
Returns the value of the url record component.
URL - Enum constant in enum class com.github.copilot.sdk.generated.ElicitationRequestedEvent.ElicitationRequestedEventData.ElicitationRequestedEventDataMode
The url variant.
usage - Variable in class com.github.copilot.sdk.generated.rpc.SessionRpc
API methods for the usage namespace.
usage() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.SessionUsageGetMetricsResultModelMetricsValue
Returns the value of the usage record component.
usage() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataModelMetricsValue
Returns the value of the usage record component.
usageAllowedWithExhaustedQuota() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataQuotaSnapshotsValue
Returns the value of the usageAllowedWithExhaustedQuota record component.
usedRequests() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataQuotaSnapshotsValue
Returns the value of the usedRequests record component.
usedRequests() - Method in record class com.github.copilot.sdk.generated.rpc.AccountGetQuotaResult.AccountGetQuotaResultQuotaSnapshotsValue
Returns the value of the usedRequests record component.
USER - Enum constant in enum class com.github.copilot.sdk.generated.rpc.McpDiscoverResult.McpDiscoverResultServersItem.McpDiscoverResultServersItemSource
The user variant.
USER - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult.SessionExtensionsListResultExtensionsItem.SessionExtensionsListResultExtensionsItemSource
The user variant.
USER - Enum constant in enum class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData.SessionExtensionsLoadedEventDataExtensionsItem.SessionExtensionsLoadedEventDataExtensionsItemSource
The user variant.
UserInputCompletedEvent - Class in com.github.copilot.sdk.generated
The user_input.completed session event.
UserInputCompletedEvent() - Constructor for class com.github.copilot.sdk.generated.UserInputCompletedEvent
 
UserInputCompletedEvent.UserInputCompletedEventData - Record Class in com.github.copilot.sdk.generated
Data payload for UserInputCompletedEvent.
UserInputCompletedEventData(String, String, Boolean) - Constructor for record class com.github.copilot.sdk.generated.UserInputCompletedEvent.UserInputCompletedEventData
Creates an instance of a UserInputCompletedEventData record class.
UserInputHandler - Interface in com.github.copilot.sdk.json
Handler for user input requests from the agent.
UserInputInvocation - Class in com.github.copilot.sdk.json
Context for a user input request invocation.
UserInputInvocation() - Constructor for class com.github.copilot.sdk.json.UserInputInvocation
 
UserInputRequest - Class in com.github.copilot.sdk.json
Request for user input from the agent.
UserInputRequest() - Constructor for class com.github.copilot.sdk.json.UserInputRequest
 
UserInputRequestedEvent - Class in com.github.copilot.sdk.generated
The user_input.requested session event.
UserInputRequestedEvent() - Constructor for class com.github.copilot.sdk.generated.UserInputRequestedEvent
 
UserInputRequestedEvent.UserInputRequestedEventData - Record Class in com.github.copilot.sdk.generated
Data payload for UserInputRequestedEvent.
UserInputRequestedEventData(String, String, List<String>, Boolean, String) - Constructor for record class com.github.copilot.sdk.generated.UserInputRequestedEvent.UserInputRequestedEventData
Creates an instance of a UserInputRequestedEventData record class.
UserInputResponse - Class in com.github.copilot.sdk.json
Response to a user input request.
UserInputResponse() - Constructor for class com.github.copilot.sdk.json.UserInputResponse
 
userInvocable() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsListResult.SessionSkillsListResultSkillsItem
Returns the value of the userInvocable record component.
userInvocable() - Method in record class com.github.copilot.sdk.generated.SessionCustomAgentsUpdatedEvent.SessionCustomAgentsUpdatedEventData.SessionCustomAgentsUpdatedEventDataAgentsItem
Returns the value of the userInvocable record component.
userInvocable() - Method in record class com.github.copilot.sdk.generated.SessionSkillsLoadedEvent.SessionSkillsLoadedEventData.SessionSkillsLoadedEventDataSkillsItem
Returns the value of the userInvocable record component.
UserMessageEvent - Class in com.github.copilot.sdk.generated
The user.message session event.
UserMessageEvent() - Constructor for class com.github.copilot.sdk.generated.UserMessageEvent
 
UserMessageEvent.UserMessageEventData - Record Class in com.github.copilot.sdk.generated
Data payload for UserMessageEvent.
UserMessageEvent.UserMessageEventData.UserMessageEventDataAgentMode - Enum Class in com.github.copilot.sdk.generated
The agent mode that was active when this message was sent
UserMessageEventData(String, String, List<Object>, String, UserMessageEvent.UserMessageEventData.UserMessageEventDataAgentMode, String) - Constructor for record class com.github.copilot.sdk.generated.UserMessageEvent.UserMessageEventData
Creates an instance of a UserMessageEventData record class.
UserPromptSubmittedHandler - Interface in com.github.copilot.sdk.json
Handler for user-prompt-submitted hooks.
UserPromptSubmittedHookInput - Record Class in com.github.copilot.sdk.json
Input for a user-prompt-submitted hook.
UserPromptSubmittedHookInput(long, String, String) - Constructor for record class com.github.copilot.sdk.json.UserPromptSubmittedHookInput
Creates an instance of a UserPromptSubmittedHookInput record class.
UserPromptSubmittedHookOutput - Record Class in com.github.copilot.sdk.json
Output for a user-prompt-submitted hook.
UserPromptSubmittedHookOutput(String, String, Boolean) - Constructor for record class com.github.copilot.sdk.json.UserPromptSubmittedHookOutput
Creates an instance of a UserPromptSubmittedHookOutput record class.

V

valueOf(String) - Static method in enum class com.github.copilot.sdk.ConnectionState
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.github.copilot.sdk.EventErrorPolicy
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData.AssistantMessageEventDataToolRequestsItem.AssistantMessageEventDataToolRequestsItemType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.github.copilot.sdk.generated.ElicitationCompletedEvent.ElicitationCompletedEventData.ElicitationCompletedEventDataAction
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.github.copilot.sdk.generated.ElicitationRequestedEvent.ElicitationRequestedEventData.ElicitationRequestedEventDataMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.github.copilot.sdk.generated.PermissionCompletedEvent.PermissionCompletedEventData.PermissionCompletedEventDataResult.PermissionCompletedEventDataResultKind
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.github.copilot.sdk.generated.rpc.McpDiscoverResult.McpDiscoverResultServersItem.McpDiscoverResultServersItemSource
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult.SessionExtensionsListResultExtensionsItem.SessionExtensionsListResultExtensionsItemSource
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult.SessionExtensionsListResultExtensionsItem.SessionExtensionsListResultExtensionsItemStatus
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.github.copilot.sdk.generated.rpc.SessionFsReaddirWithTypesResult.SessionFsReaddirWithTypesResultEntriesItem.SessionFsReaddirWithTypesResultEntriesItemType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.github.copilot.sdk.generated.rpc.SessionFsSetProviderParams.SessionFsSetProviderParamsConventions
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.github.copilot.sdk.generated.rpc.SessionLogParams.SessionLogParamsLevel
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.github.copilot.sdk.generated.rpc.SessionMcpListResult.SessionMcpListResultServersItem.SessionMcpListResultServersItemStatus
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.github.copilot.sdk.generated.rpc.SessionModeGetResult.SessionModeGetResultMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.github.copilot.sdk.generated.rpc.SessionModeSetParams.SessionModeSetParamsMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.github.copilot.sdk.generated.rpc.SessionModeSetResult.SessionModeSetResultMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.github.copilot.sdk.generated.rpc.SessionShellKillParams.SessionShellKillParamsSignal
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.github.copilot.sdk.generated.rpc.SessionUiElicitationResult.SessionUiElicitationResultAction
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.github.copilot.sdk.generated.rpc.SessionUiHandlePendingElicitationParams.SessionUiHandlePendingElicitationParamsResult.SessionUiHandlePendingElicitationParamsResultAction
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.github.copilot.sdk.generated.SessionContextChangedEvent.SessionContextChangedEventData.SessionContextChangedEventDataHostType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData.SessionExtensionsLoadedEventDataExtensionsItem.SessionExtensionsLoadedEventDataExtensionsItemSource
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData.SessionExtensionsLoadedEventDataExtensionsItem.SessionExtensionsLoadedEventDataExtensionsItemStatus
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.github.copilot.sdk.generated.SessionHandoffEvent.SessionHandoffEventData.SessionHandoffEventDataSourceType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.github.copilot.sdk.generated.SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData.SessionMcpServersLoadedEventDataServersItem.SessionMcpServersLoadedEventDataServersItemStatus
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.github.copilot.sdk.generated.SessionMcpServerStatusChangedEvent.SessionMcpServerStatusChangedEventData.SessionMcpServerStatusChangedEventDataStatus
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.github.copilot.sdk.generated.SessionPlanChangedEvent.SessionPlanChangedEventData.SessionPlanChangedEventDataOperation
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData.SessionResumeEventDataContext.SessionResumeEventDataContextHostType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataShutdownType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData.SessionStartEventDataContext.SessionStartEventDataContextHostType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.github.copilot.sdk.generated.SessionWorkspaceFileChangedEvent.SessionWorkspaceFileChangedEventData.SessionWorkspaceFileChangedEventDataOperation
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.github.copilot.sdk.generated.SystemMessageEvent.SystemMessageEventData.SystemMessageEventDataRole
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.github.copilot.sdk.generated.UserMessageEvent.UserMessageEventData.UserMessageEventDataAgentMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.github.copilot.sdk.json.ElicitationResultAction
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.github.copilot.sdk.json.SectionOverrideAction
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.github.copilot.sdk.SdkProtocolVersion
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.github.copilot.sdk.SystemMessageMode
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.github.copilot.sdk.ConnectionState
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.github.copilot.sdk.EventErrorPolicy
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData.AssistantMessageEventDataToolRequestsItem.AssistantMessageEventDataToolRequestsItemType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.github.copilot.sdk.generated.ElicitationCompletedEvent.ElicitationCompletedEventData.ElicitationCompletedEventDataAction
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.github.copilot.sdk.generated.ElicitationRequestedEvent.ElicitationRequestedEventData.ElicitationRequestedEventDataMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.github.copilot.sdk.generated.PermissionCompletedEvent.PermissionCompletedEventData.PermissionCompletedEventDataResult.PermissionCompletedEventDataResultKind
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.github.copilot.sdk.generated.rpc.McpDiscoverResult.McpDiscoverResultServersItem.McpDiscoverResultServersItemSource
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult.SessionExtensionsListResultExtensionsItem.SessionExtensionsListResultExtensionsItemSource
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult.SessionExtensionsListResultExtensionsItem.SessionExtensionsListResultExtensionsItemStatus
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.github.copilot.sdk.generated.rpc.SessionFsReaddirWithTypesResult.SessionFsReaddirWithTypesResultEntriesItem.SessionFsReaddirWithTypesResultEntriesItemType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.github.copilot.sdk.generated.rpc.SessionFsSetProviderParams.SessionFsSetProviderParamsConventions
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.github.copilot.sdk.generated.rpc.SessionLogParams.SessionLogParamsLevel
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.github.copilot.sdk.generated.rpc.SessionMcpListResult.SessionMcpListResultServersItem.SessionMcpListResultServersItemStatus
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.github.copilot.sdk.generated.rpc.SessionModeGetResult.SessionModeGetResultMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.github.copilot.sdk.generated.rpc.SessionModeSetParams.SessionModeSetParamsMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.github.copilot.sdk.generated.rpc.SessionModeSetResult.SessionModeSetResultMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.github.copilot.sdk.generated.rpc.SessionShellKillParams.SessionShellKillParamsSignal
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.github.copilot.sdk.generated.rpc.SessionUiElicitationResult.SessionUiElicitationResultAction
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.github.copilot.sdk.generated.rpc.SessionUiHandlePendingElicitationParams.SessionUiHandlePendingElicitationParamsResult.SessionUiHandlePendingElicitationParamsResultAction
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.github.copilot.sdk.generated.SessionContextChangedEvent.SessionContextChangedEventData.SessionContextChangedEventDataHostType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData.SessionExtensionsLoadedEventDataExtensionsItem.SessionExtensionsLoadedEventDataExtensionsItemSource
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData.SessionExtensionsLoadedEventDataExtensionsItem.SessionExtensionsLoadedEventDataExtensionsItemStatus
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.github.copilot.sdk.generated.SessionHandoffEvent.SessionHandoffEventData.SessionHandoffEventDataSourceType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.github.copilot.sdk.generated.SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData.SessionMcpServersLoadedEventDataServersItem.SessionMcpServersLoadedEventDataServersItemStatus
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.github.copilot.sdk.generated.SessionMcpServerStatusChangedEvent.SessionMcpServerStatusChangedEventData.SessionMcpServerStatusChangedEventDataStatus
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.github.copilot.sdk.generated.SessionPlanChangedEvent.SessionPlanChangedEventData.SessionPlanChangedEventDataOperation
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData.SessionResumeEventDataContext.SessionResumeEventDataContextHostType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataShutdownType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData.SessionStartEventDataContext.SessionStartEventDataContextHostType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.github.copilot.sdk.generated.SessionWorkspaceFileChangedEvent.SessionWorkspaceFileChangedEventData.SessionWorkspaceFileChangedEventDataOperation
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.github.copilot.sdk.generated.SystemMessageEvent.SystemMessageEventData.SystemMessageEventDataRole
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.github.copilot.sdk.generated.UserMessageEvent.UserMessageEventData.UserMessageEventDataAgentMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.github.copilot.sdk.json.ElicitationResultAction
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.github.copilot.sdk.json.SectionOverrideAction
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.github.copilot.sdk.SdkProtocolVersion
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.github.copilot.sdk.SystemMessageMode
Returns an array containing the constants of this enum class, in the order they are declared.
variables() - Method in record class com.github.copilot.sdk.generated.SystemMessageEvent.SystemMessageEventData.SystemMessageEventDataMetadata
Returns the value of the variables record component.
version() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPluginsListResult.SessionPluginsListResultPluginsItem
Returns the value of the version record component.
version() - Method in record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData
Returns the value of the version record component.
vision() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities.ModelsListResultModelsItemCapabilitiesLimits
Returns the value of the vision record component.
vision() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities.ModelsListResultModelsItemCapabilitiesSupports
Returns the value of the vision record component.
vision() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities.SessionModelSwitchToParamsModelCapabilitiesLimits
Returns the value of the vision record component.
vision() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities.SessionModelSwitchToParamsModelCapabilitiesSupports
Returns the value of the vision record component.

W

WARNING - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionLogParams.SessionLogParamsLevel
The warning variant.
warnings() - Method in record class com.github.copilot.sdk.generated.SessionCustomAgentsUpdatedEvent.SessionCustomAgentsUpdatedEventData
Returns the value of the warnings record component.
warningType() - Method in record class com.github.copilot.sdk.generated.SessionWarningEvent.SessionWarningEventData
Returns the value of the warningType record component.
wasFreeform() - Method in record class com.github.copilot.sdk.generated.UserInputCompletedEvent.UserInputCompletedEventData
Returns the value of the wasFreeform record component.
WINDOWS - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionFsSetProviderParams.SessionFsSetProviderParamsConventions
The windows variant.
withModifiedArgs(String, JsonNode) - Static method in record class com.github.copilot.sdk.json.PreToolUseHookOutput
Creates an output with modified tool arguments.
workingDirectory() - Method in record class com.github.copilot.sdk.generated.rpc.McpDiscoverParams
Returns the value of the workingDirectory record component.
workspace - Variable in class com.github.copilot.sdk.generated.rpc.SessionRpc
API methods for the workspace namespace.
WORKSPACE - Enum constant in enum class com.github.copilot.sdk.generated.rpc.McpDiscoverResult.McpDiscoverResultServersItem.McpDiscoverResultServersItemSource
The workspace variant.
workspacePath() - Method in record class com.github.copilot.sdk.json.CreateSessionResponse
Returns the value of the workspacePath record component.
workspacePath() - Method in record class com.github.copilot.sdk.json.GetForegroundSessionResponse
Returns the value of the workspacePath record component.
workspacePath() - Method in record class com.github.copilot.sdk.json.ResumeSessionResponse
Returns the value of the workspacePath record component.
A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values