Index
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
abortedrecord component. - AbortEvent - Class in com.github.copilot.sdk.generated
-
The
abortsession 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
AbortEventDatarecord class. - ACCEPT - Enum constant in enum class com.github.copilot.sdk.generated.ElicitationCompletedEvent.ElicitationCompletedEventData.ElicitationCompletedEventDataAction
-
The
acceptvariant. - ACCEPT - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionUiElicitationResult.SessionUiElicitationResultAction
-
The
acceptvariant. - ACCEPT - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionUiHandlePendingElicitationParams.SessionUiHandlePendingElicitationParamsResult.SessionUiHandlePendingElicitationParamsResultAction
-
The
acceptvariant. - 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
accountnamespace. - AccountGetQuotaResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
account.getQuotaRPC method. - AccountGetQuotaResult(Map<String, AccountGetQuotaResult.AccountGetQuotaResultQuotaSnapshotsValue>) - Constructor for record class com.github.copilot.sdk.generated.rpc.AccountGetQuotaResult
-
Creates an instance of a
AccountGetQuotaResultrecord 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
AccountGetQuotaResultQuotaSnapshotsValuerecord class. - action() - Method in record class com.github.copilot.sdk.generated.ElicitationCompletedEvent.ElicitationCompletedEventData
-
Returns the value of the
actionrecord component. - action() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiElicitationResult
-
Returns the value of the
actionrecord component. - action() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiHandlePendingElicitationParams.SessionUiHandlePendingElicitationParamsResult
-
Returns the value of the
actionrecord component. - actions() - Method in record class com.github.copilot.sdk.generated.ExitPlanModeRequestedEvent.ExitPlanModeRequestedEventData
-
Returns the value of the
actionsrecord 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
additionalContextrecord component. - additionalContext() - Method in record class com.github.copilot.sdk.json.PreToolUseHookOutput
-
Returns the value of the
additionalContextrecord component. - additionalContext() - Method in record class com.github.copilot.sdk.json.SessionStartHookOutput
-
Returns the value of the
additionalContextrecord component. - additionalContext() - Method in record class com.github.copilot.sdk.json.UserPromptSubmittedHookOutput
-
Returns the value of the
additionalContextrecord component. - ADO - Enum constant in enum class com.github.copilot.sdk.generated.SessionContextChangedEvent.SessionContextChangedEventData.SessionContextChangedEventDataHostType
-
The
adovariant. - ADO - Enum constant in enum class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData.SessionResumeEventDataContext.SessionResumeEventDataContextHostType
-
The
adovariant. - ADO - Enum constant in enum class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData.SessionStartEventDataContext.SessionStartEventDataContextHostType
-
The
adovariant. - agent - Variable in class com.github.copilot.sdk.generated.rpc.SessionRpc
-
API methods for the
agentnamespace. - agent() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentGetCurrentResult
-
Returns the value of the
agentrecord component. - agent() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentSelectResult
-
Returns the value of the
agentrecord component. - agentDescription() - Method in record class com.github.copilot.sdk.generated.SubagentStartedEvent.SubagentStartedEventData
-
Returns the value of the
agentDescriptionrecord component. - agentDisplayName() - Method in record class com.github.copilot.sdk.generated.SubagentCompletedEvent.SubagentCompletedEventData
-
Returns the value of the
agentDisplayNamerecord component. - agentDisplayName() - Method in record class com.github.copilot.sdk.generated.SubagentFailedEvent.SubagentFailedEventData
-
Returns the value of the
agentDisplayNamerecord component. - agentDisplayName() - Method in record class com.github.copilot.sdk.generated.SubagentSelectedEvent.SubagentSelectedEventData
-
Returns the value of the
agentDisplayNamerecord component. - agentDisplayName() - Method in record class com.github.copilot.sdk.generated.SubagentStartedEvent.SubagentStartedEventData
-
Returns the value of the
agentDisplayNamerecord 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
agentModerecord component. - agentName() - Method in record class com.github.copilot.sdk.generated.SubagentCompletedEvent.SubagentCompletedEventData
-
Returns the value of the
agentNamerecord component. - agentName() - Method in record class com.github.copilot.sdk.generated.SubagentFailedEvent.SubagentFailedEventData
-
Returns the value of the
agentNamerecord component. - agentName() - Method in record class com.github.copilot.sdk.generated.SubagentSelectedEvent.SubagentSelectedEventData
-
Returns the value of the
agentNamerecord component. - agentName() - Method in record class com.github.copilot.sdk.generated.SubagentStartedEvent.SubagentStartedEventData
-
Returns the value of the
agentNamerecord component. - agents() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentListResult
-
Returns the value of the
agentsrecord component. - agents() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentReloadResult
-
Returns the value of the
agentsrecord component. - agents() - Method in record class com.github.copilot.sdk.generated.SessionCustomAgentsUpdatedEvent.SessionCustomAgentsUpdatedEventData
-
Returns the value of the
agentsrecord 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
allowedToolsrecord component. - allowFreeform() - Method in record class com.github.copilot.sdk.generated.UserInputRequestedEvent.UserInputRequestedEventData
-
Returns the value of the
allowFreeformrecord component. - alreadyInUse() - Method in record class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData
-
Returns the value of the
alreadyInUserecord component. - alreadyInUse() - Method in record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData
-
Returns the value of the
alreadyInUserecord component. - answer() - Method in record class com.github.copilot.sdk.generated.UserInputCompletedEvent.UserInputCompletedEventData
-
Returns the value of the
answerrecord component. - apiCallId() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData
-
Returns the value of the
apiCallIdrecord 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
approvedrecord component. - APPROVED - Enum constant in enum class com.github.copilot.sdk.generated.PermissionCompletedEvent.PermissionCompletedEventData.PermissionCompletedEventDataResult.PermissionCompletedEventDataResultKind
-
The
approvedvariant. - 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
argsrecord component. - arguments() - Method in record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData.AssistantMessageEventDataToolRequestsItem
-
Returns the value of the
argumentsrecord component. - arguments() - Method in record class com.github.copilot.sdk.generated.ExternalToolRequestedEvent.ExternalToolRequestedEventData
-
Returns the value of the
argumentsrecord component. - arguments() - Method in record class com.github.copilot.sdk.generated.ToolExecutionStartEvent.ToolExecutionStartEventData
-
Returns the value of the
argumentsrecord component. - arguments() - Method in record class com.github.copilot.sdk.generated.ToolUserRequestedEvent.ToolUserRequestedEventData
-
Returns the value of the
argumentsrecord 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.intentsession 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
AssistantIntentEventDatarecord class. - AssistantMessageDeltaEvent - Class in com.github.copilot.sdk.generated
-
The
assistant.message_deltasession 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
AssistantMessageDeltaEventDatarecord class. - AssistantMessageEvent - Class in com.github.copilot.sdk.generated
-
The
assistant.messagesession 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
AssistantMessageEventDatarecord 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
AssistantMessageEventDataToolRequestsItemrecord class. - AssistantReasoningDeltaEvent - Class in com.github.copilot.sdk.generated
-
The
assistant.reasoning_deltasession event. - AssistantReasoningDeltaEvent() - Constructor for class com.github.copilot.sdk.generated.AssistantReasoningDeltaEvent
- AssistantReasoningDeltaEvent.AssistantReasoningDeltaEventData - Record Class in com.github.copilot.sdk.generated
-
Data payload for
AssistantReasoningDeltaEvent. - AssistantReasoningDeltaEventData(String, String) - Constructor for record class com.github.copilot.sdk.generated.AssistantReasoningDeltaEvent.AssistantReasoningDeltaEventData
-
Creates an instance of a
AssistantReasoningDeltaEventDatarecord class. - AssistantReasoningEvent - Class in com.github.copilot.sdk.generated
-
The
assistant.reasoningsession 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
AssistantReasoningEventDatarecord class. - AssistantStreamingDeltaEvent - Class in com.github.copilot.sdk.generated
-
The
assistant.streaming_deltasession event. - AssistantStreamingDeltaEvent() - Constructor for class com.github.copilot.sdk.generated.AssistantStreamingDeltaEvent
- AssistantStreamingDeltaEvent.AssistantStreamingDeltaEventData - Record Class in com.github.copilot.sdk.generated
-
Data payload for
AssistantStreamingDeltaEvent. - AssistantStreamingDeltaEventData(Double) - Constructor for record class com.github.copilot.sdk.generated.AssistantStreamingDeltaEvent.AssistantStreamingDeltaEventData
-
Creates an instance of a
AssistantStreamingDeltaEventDatarecord class. - AssistantTurnEndEvent - Class in com.github.copilot.sdk.generated
-
The
assistant.turn_endsession 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
AssistantTurnEndEventDatarecord class. - AssistantTurnStartEvent - Class in com.github.copilot.sdk.generated
-
The
assistant.turn_startsession 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
AssistantTurnStartEventDatarecord class. - AssistantUsageEvent - Class in com.github.copilot.sdk.generated
-
The
assistant.usagesession 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
AssistantUsageEventDatarecord 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
AssistantUsageEventDataCopilotUsagerecord class. - AssistantUsageEventDataCopilotUsageTokenDetailsItem(Double, Double, Double, String) - Constructor for record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataCopilotUsage.AssistantUsageEventDataCopilotUsageTokenDetailsItem
-
Creates an instance of a
AssistantUsageEventDataCopilotUsageTokenDetailsItemrecord 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
AssistantUsageEventDataQuotaSnapshotsValuerecord 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
Attachmentrecord class. - attachments() - Method in record class com.github.copilot.sdk.generated.UserMessageEvent.UserMessageEventData
-
Returns the value of the
attachmentsrecord component. - autoApproveEdits() - Method in record class com.github.copilot.sdk.generated.ExitPlanModeCompletedEvent.ExitPlanModeCompletedEventData
-
Returns the value of the
autoApproveEditsrecord 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 viaCopilotClient.stop(). - AUTOPILOT - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionModeGetResult.SessionModeGetResultMode
-
The
autopilotvariant. - AUTOPILOT - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionModeSetParams.SessionModeSetParamsMode
-
The
autopilotvariant. - AUTOPILOT - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionModeSetResult.SessionModeSetResultMode
-
The
autopilotvariant. - AUTOPILOT - Enum constant in enum class com.github.copilot.sdk.generated.UserMessageEvent.UserMessageEventData.UserMessageEventDataAgentMode
-
The
autopilotvariant. - 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
baseCommitrecord component. - baseCommit() - Method in record class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData.SessionResumeEventDataContext
-
Returns the value of the
baseCommitrecord component. - baseCommit() - Method in record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData.SessionStartEventDataContext
-
Returns the value of the
baseCommitrecord component. - batchSize() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataCopilotUsage.AssistantUsageEventDataCopilotUsageTokenDetailsItem
-
Returns the value of the
batchSizerecord component. - billing() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem
-
Returns the value of the
billingrecord component. - binaryResultsForLlm() - Method in record class com.github.copilot.sdk.json.ToolResultObject
-
Returns the value of the
binaryResultsForLlmrecord component. - birthtime() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsStatResult
-
Returns the value of the
birthtimerecord 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
branchrecord component. - branch() - Method in record class com.github.copilot.sdk.generated.SessionHandoffEvent.SessionHandoffEventData.SessionHandoffEventDataRepository
-
Returns the value of the
branchrecord component. - branch() - Method in record class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData.SessionResumeEventDataContext
-
Returns the value of the
branchrecord component. - branch() - Method in record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData.SessionStartEventDataContext
-
Returns the value of the
branchrecord component. - BUILTIN - Enum constant in enum class com.github.copilot.sdk.generated.rpc.McpDiscoverResult.McpDiscoverResultServersItem.McpDiscoverResultServersItemSource
-
The
builtinvariant.
C
- cachedInput() - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData.SessionCompactionCompleteEventDataCompactionTokensUsed
-
Returns the value of the
cachedInputrecord component. - cacheReadTokens() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData
-
Returns the value of the
cacheReadTokensrecord component. - cacheReadTokens() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.SessionUsageGetMetricsResultModelMetricsValue.SessionUsageGetMetricsResultModelMetricsValueUsage
-
Returns the value of the
cacheReadTokensrecord component. - cacheReadTokens() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataModelMetricsValue.SessionShutdownEventDataModelMetricsValueUsage
-
Returns the value of the
cacheReadTokensrecord component. - cacheWriteTokens() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData
-
Returns the value of the
cacheWriteTokensrecord component. - cacheWriteTokens() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.SessionUsageGetMetricsResultModelMetricsValue.SessionUsageGetMetricsResultModelMetricsValueUsage
-
Returns the value of the
cacheWriteTokensrecord component. - cacheWriteTokens() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataModelMetricsValue.SessionShutdownEventDataModelMetricsValueUsage
-
Returns the value of the
cacheWriteTokensrecord component. - CANCEL - Enum constant in enum class com.github.copilot.sdk.generated.ElicitationCompletedEvent.ElicitationCompletedEventData.ElicitationCompletedEventDataAction
-
The
cancelvariant. - CANCEL - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionUiElicitationResult.SessionUiElicitationResultAction
-
The
cancelvariant. - CANCEL - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionUiHandlePendingElicitationParams.SessionUiHandlePendingElicitationParamsResult.SessionUiHandlePendingElicitationParamsResultAction
-
The
cancelvariant. - 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
capabilitiesrecord component. - capabilities() - Method in record class com.github.copilot.sdk.json.CreateSessionResponse
-
Returns the value of the
capabilitiesrecord component. - capabilities() - Method in record class com.github.copilot.sdk.json.ResumeSessionResponse
-
Returns the value of the
capabilitiesrecord component. - CapabilitiesChangedEvent - Class in com.github.copilot.sdk.generated
-
The
capabilities.changedsession 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
CapabilitiesChangedEventDatarecord class. - CapabilitiesChangedEventDataUi(Boolean) - Constructor for record class com.github.copilot.sdk.generated.CapabilitiesChangedEvent.CapabilitiesChangedEventData.CapabilitiesChangedEventDataUi
-
Creates an instance of a
CapabilitiesChangedEventDataUirecord class. - checkpointNumber() - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData
-
Returns the value of the
checkpointNumberrecord component. - checkpointPath() - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData
-
Returns the value of the
checkpointPathrecord component. - choices() - Method in record class com.github.copilot.sdk.generated.UserInputRequestedEvent.UserInputRequestedEventData
-
Returns the value of the
choicesrecord component. - cleanupActions() - Method in record class com.github.copilot.sdk.json.SessionEndHookOutput
-
Returns the value of the
cleanupActionsrecord component. - clientId() - Method in record class com.github.copilot.sdk.generated.McpOauthRequiredEvent.McpOauthRequiredEventData.McpOauthRequiredEventDataStaticClientConfig
-
Returns the value of the
clientIdrecord component. - clone() - Method in class com.github.copilot.sdk.json.CopilotClientOptions
-
Creates a shallow clone of this
CopilotClientOptionsinstance. - clone() - Method in class com.github.copilot.sdk.json.MessageOptions
-
Creates a shallow clone of this
MessageOptionsinstance. - clone() - Method in class com.github.copilot.sdk.json.ResumeSessionConfig
-
Creates a shallow clone of this
ResumeSessionConfiginstance. - clone() - Method in class com.github.copilot.sdk.json.SessionConfig
-
Creates a shallow clone of this
SessionConfiginstance. - 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
coderecord 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
codeChangesrecord component. - codeChanges() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData
-
Returns the value of the
codeChangesrecord 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
commandrecord component. - command() - Method in record class com.github.copilot.sdk.generated.CommandQueuedEvent.CommandQueuedEventData
-
Returns the value of the
commandrecord component. - command() - Method in record class com.github.copilot.sdk.generated.rpc.SessionShellExecParams
-
Returns the value of the
commandrecord component. - CommandCompletedEvent - Class in com.github.copilot.sdk.generated
-
The
command.completedsession 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
CommandCompletedEventDatarecord class. - CommandContext - Class in com.github.copilot.sdk.json
-
Context passed to a
CommandHandlerwhen 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.executesession 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
CommandExecuteEventDatarecord 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
commandNamerecord component. - CommandQueuedEvent - Class in com.github.copilot.sdk.generated
-
The
command.queuedsession 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
CommandQueuedEventDatarecord class. - commands - Variable in class com.github.copilot.sdk.generated.rpc.SessionRpc
-
API methods for the
commandsnamespace. - commands() - Method in record class com.github.copilot.sdk.generated.CommandsChangedEvent.CommandsChangedEventData
-
Returns the value of the
commandsrecord component. - CommandsChangedEvent - Class in com.github.copilot.sdk.generated
-
The
commands.changedsession 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
CommandsChangedEventDatarecord class. - CommandsChangedEventDataCommandsItem(String, String) - Constructor for record class com.github.copilot.sdk.generated.CommandsChangedEvent.CommandsChangedEventData.CommandsChangedEventDataCommandsItem
-
Creates an instance of a
CommandsChangedEventDataCommandsItemrecord 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
compactionTokensUsedrecord component. - config - Variable in class com.github.copilot.sdk.generated.rpc.ServerMcpApi
-
API methods for the
mcp.configsub-namespace. - config() - Method in record class com.github.copilot.sdk.generated.rpc.McpConfigAddParams
-
Returns the value of the
configrecord component. - config() - Method in record class com.github.copilot.sdk.generated.rpc.McpConfigUpdateParams
-
Returns the value of the
configrecord 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
connectedvariant. - CONNECTED - Enum constant in enum class com.github.copilot.sdk.generated.SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData.SessionMcpServersLoadedEventDataServersItem.SessionMcpServersLoadedEventDataServersItemStatus
-
The
connectedvariant. - CONNECTED - Enum constant in enum class com.github.copilot.sdk.generated.SessionMcpServerStatusChangedEvent.SessionMcpServerStatusChangedEventData.SessionMcpServerStatusChangedEventDataStatus
-
The
connectedvariant. - 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
contentrecord component. - content() - Method in record class com.github.copilot.sdk.generated.AssistantReasoningEvent.AssistantReasoningEventData
-
Returns the value of the
contentrecord component. - content() - Method in record class com.github.copilot.sdk.generated.ElicitationCompletedEvent.ElicitationCompletedEventData
-
Returns the value of the
contentrecord component. - content() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsAppendFileParams
-
Returns the value of the
contentrecord component. - content() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReadFileResult
-
Returns the value of the
contentrecord component. - content() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsWriteFileParams
-
Returns the value of the
contentrecord component. - content() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPlanReadResult
-
Returns the value of the
contentrecord component. - content() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPlanUpdateParams
-
Returns the value of the
contentrecord component. - content() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiElicitationResult
-
Returns the value of the
contentrecord component. - content() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiHandlePendingElicitationParams.SessionUiHandlePendingElicitationParamsResult
-
Returns the value of the
contentrecord component. - content() - Method in record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceCreateFileParams
-
Returns the value of the
contentrecord component. - content() - Method in record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceReadFileResult
-
Returns the value of the
contentrecord component. - content() - Method in record class com.github.copilot.sdk.generated.SkillInvokedEvent.SkillInvokedEventData
-
Returns the value of the
contentrecord component. - content() - Method in record class com.github.copilot.sdk.generated.SystemMessageEvent.SystemMessageEventData
-
Returns the value of the
contentrecord component. - content() - Method in record class com.github.copilot.sdk.generated.SystemNotificationEvent.SystemNotificationEventData
-
Returns the value of the
contentrecord component. - content() - Method in record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData.ToolExecutionCompleteEventDataResult
-
Returns the value of the
contentrecord component. - content() - Method in record class com.github.copilot.sdk.generated.UserMessageEvent.UserMessageEventData
-
Returns the value of the
contentrecord component. - contents() - Method in record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData.ToolExecutionCompleteEventDataResult
-
Returns the value of the
contentsrecord component. - context() - Method in record class com.github.copilot.sdk.generated.SessionHandoffEvent.SessionHandoffEventData
-
Returns the value of the
contextrecord component. - context() - Method in record class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData
-
Returns the value of the
contextrecord component. - context() - Method in record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData
-
Returns the value of the
contextrecord component. - contextWindow() - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryCompactResult
-
Returns the value of the
contextWindowrecord component. - conventions() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsSetProviderParams
-
Returns the value of the
conventionsrecord component. - conversationTokens() - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryCompactResult.SessionHistoryCompactResultContextWindow
-
Returns the value of the
conversationTokensrecord component. - conversationTokens() - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData
-
Returns the value of the
conversationTokensrecord component. - conversationTokens() - Method in record class com.github.copilot.sdk.generated.SessionCompactionStartEvent.SessionCompactionStartEventData
-
Returns the value of the
conversationTokensrecord component. - conversationTokens() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData
-
Returns the value of the
conversationTokensrecord component. - conversationTokens() - Method in record class com.github.copilot.sdk.generated.SessionUsageInfoEvent.SessionUsageInfoEventData
-
Returns the value of the
conversationTokensrecord 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
copilotUsagerecord component. - copilotVersion() - Method in record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData
-
Returns the value of the
copilotVersionrecord component. - cost() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData
-
Returns the value of the
costrecord component. - cost() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.SessionUsageGetMetricsResultModelMetricsValue.SessionUsageGetMetricsResultModelMetricsValueRequests
-
Returns the value of the
costrecord component. - cost() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataModelMetricsValue.SessionShutdownEventDataModelMetricsValueRequests
-
Returns the value of the
costrecord component. - costPerBatch() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataCopilotUsage.AssistantUsageEventDataCopilotUsageTokenDetailsItem
-
Returns the value of the
costPerBatchrecord component. - count() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.SessionUsageGetMetricsResultModelMetricsValue.SessionUsageGetMetricsResultModelMetricsValueRequests
-
Returns the value of the
countrecord component. - count() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataModelMetricsValue.SessionShutdownEventDataModelMetricsValueRequests
-
Returns the value of the
countrecord 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
createvariant. - CREATE - Enum constant in enum class com.github.copilot.sdk.generated.SessionWorkspaceFileChangedEvent.SessionWorkspaceFileChangedEventData.SessionWorkspaceFileChangedEventDataOperation
-
The
createvariant. - 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
CreateSessionResponserecord 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
currentModelrecord component. - currentModel() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData
-
Returns the value of the
currentModelrecord component. - currentTokens() - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryCompactResult.SessionHistoryCompactResultContextWindow
-
Returns the value of the
currentTokensrecord component. - currentTokens() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData
-
Returns the value of the
currentTokensrecord component. - currentTokens() - Method in record class com.github.copilot.sdk.generated.SessionUsageInfoEvent.SessionUsageInfoEventData
-
Returns the value of the
currentTokensrecord component. - CUSTOM - Enum constant in enum class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData.AssistantMessageEventDataToolRequestsItem.AssistantMessageEventDataToolRequestsItemType
-
The
customvariant. - 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
cwdrecord component. - cwd() - Method in record class com.github.copilot.sdk.generated.SessionContextChangedEvent.SessionContextChangedEventData
-
Returns the value of the
cwdrecord component. - cwd() - Method in record class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData.SessionResumeEventDataContext
-
Returns the value of the
cwdrecord component. - cwd() - Method in record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData.SessionStartEventDataContext
-
Returns the value of the
cwdrecord component. - cwd() - Method in record class com.github.copilot.sdk.json.SessionEndHookInput
-
Returns the value of the
cwdrecord component. - cwd() - Method in record class com.github.copilot.sdk.json.SessionStartHookInput
-
Returns the value of the
cwdrecord component. - cwd() - Method in record class com.github.copilot.sdk.json.UserPromptSubmittedHookInput
-
Returns the value of the
cwdrecord component.
D
- data() - Method in record class com.github.copilot.sdk.json.ToolBinaryResult
-
Returns the value of the
datarecord component. - DECLINE - Enum constant in enum class com.github.copilot.sdk.generated.ElicitationCompletedEvent.ElicitationCompletedEventData.ElicitationCompletedEventDataAction
-
The
declinevariant. - DECLINE - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionUiElicitationResult.SessionUiElicitationResultAction
-
The
declinevariant. - DECLINE - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionUiHandlePendingElicitationParams.SessionUiHandlePendingElicitationParamsResult.SessionUiHandlePendingElicitationParamsResultAction
-
The
declinevariant. - 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
defaultReasoningEffortrecord 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
deletevariant. - 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
DeleteSessionResponserecord class. - deltaContent() - Method in record class com.github.copilot.sdk.generated.AssistantMessageDeltaEvent.AssistantMessageDeltaEventData
-
Returns the value of the
deltaContentrecord component. - deltaContent() - Method in record class com.github.copilot.sdk.generated.AssistantReasoningDeltaEvent.AssistantReasoningDeltaEventData
-
Returns the value of the
deltaContentrecord 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-policyvariant. - DENIED_BY_PERMISSION_REQUEST_HOOK - Enum constant in enum class com.github.copilot.sdk.generated.PermissionCompletedEvent.PermissionCompletedEventData.PermissionCompletedEventDataResult.PermissionCompletedEventDataResultKind
-
The
denied-by-permission-request-hookvariant. - DENIED_BY_RULES - Enum constant in enum class com.github.copilot.sdk.generated.PermissionCompletedEvent.PermissionCompletedEventData.PermissionCompletedEventDataResult.PermissionCompletedEventDataResultKind
-
The
denied-by-rulesvariant. - 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-uservariant. - 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-uservariant. - 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
descriptionrecord component. - description() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentGetCurrentResult.SessionAgentGetCurrentResultAgent
-
Returns the value of the
descriptionrecord component. - description() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentListResult.SessionAgentListResultAgentsItem
-
Returns the value of the
descriptionrecord component. - description() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentReloadResult.SessionAgentReloadResultAgentsItem
-
Returns the value of the
descriptionrecord component. - description() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentSelectResult.SessionAgentSelectResultAgent
-
Returns the value of the
descriptionrecord component. - description() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsListResult.SessionSkillsListResultSkillsItem
-
Returns the value of the
descriptionrecord component. - description() - Method in record class com.github.copilot.sdk.generated.rpc.ToolsListResult.ToolsListResultToolsItem
-
Returns the value of the
descriptionrecord component. - description() - Method in record class com.github.copilot.sdk.generated.SessionCustomAgentsUpdatedEvent.SessionCustomAgentsUpdatedEventData.SessionCustomAgentsUpdatedEventDataAgentsItem
-
Returns the value of the
descriptionrecord component. - description() - Method in record class com.github.copilot.sdk.generated.SessionSkillsLoadedEvent.SessionSkillsLoadedEventData.SessionSkillsLoadedEventDataSkillsItem
-
Returns the value of the
descriptionrecord component. - description() - Method in record class com.github.copilot.sdk.generated.SkillInvokedEvent.SkillInvokedEventData
-
Returns the value of the
descriptionrecord component. - description() - Method in record class com.github.copilot.sdk.json.ToolBinaryResult
-
Returns the value of the
descriptionrecord component. - description() - Method in record class com.github.copilot.sdk.json.ToolDefinition
-
Returns the value of the
descriptionrecord 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
destrecord component. - detailedContent() - Method in record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData.ToolExecutionCompleteEventDataResult
-
Returns the value of the
detailedContentrecord component. - DEVELOPER - Enum constant in enum class com.github.copilot.sdk.generated.SystemMessageEvent.SystemMessageEventData.SystemMessageEventDataRole
-
The
developervariant. - DIRECTORY - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionFsReaddirWithTypesResult.SessionFsReaddirWithTypesResultEntriesItem.SessionFsReaddirWithTypesResultEntriesItemType
-
The
directoryvariant. - 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
disabledvariant. - DISABLED - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionMcpListResult.SessionMcpListResultServersItem.SessionMcpListResultServersItemStatus
-
The
disabledvariant. - DISABLED - Enum constant in enum class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData.SessionExtensionsLoadedEventDataExtensionsItem.SessionExtensionsLoadedEventDataExtensionsItemStatus
-
The
disabledvariant. - DISABLED - Enum constant in enum class com.github.copilot.sdk.generated.SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData.SessionMcpServersLoadedEventDataServersItem.SessionMcpServersLoadedEventDataServersItemStatus
-
The
disabledvariant. - DISABLED - Enum constant in enum class com.github.copilot.sdk.generated.SessionMcpServerStatusChangedEvent.SessionMcpServerStatusChangedEventData.SessionMcpServerStatusChangedEventDataStatus
-
The
disabledvariant. - 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
displayNamerecord component. - displayName() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentListResult.SessionAgentListResultAgentsItem
-
Returns the value of the
displayNamerecord component. - displayName() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentReloadResult.SessionAgentReloadResultAgentsItem
-
Returns the value of the
displayNamerecord component. - displayName() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentSelectResult.SessionAgentSelectResultAgent
-
Returns the value of the
displayNamerecord component. - displayName() - Method in record class com.github.copilot.sdk.generated.SessionCustomAgentsUpdatedEvent.SessionCustomAgentsUpdatedEventData.SessionCustomAgentsUpdatedEventDataAgentsItem
-
Returns the value of the
displayNamerecord component. - displayName() - Method in record class com.github.copilot.sdk.json.Attachment
-
Returns the value of the
displayNamerecord component. - duration() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData
-
Returns the value of the
durationrecord component. - durationMs() - Method in record class com.github.copilot.sdk.generated.SubagentCompletedEvent.SubagentCompletedEventData
-
Returns the value of the
durationMsrecord component. - durationMs() - Method in record class com.github.copilot.sdk.generated.SubagentFailedEvent.SubagentFailedEventData
-
Returns the value of the
durationMsrecord component.
E
- elicitation() - Method in record class com.github.copilot.sdk.generated.CapabilitiesChangedEvent.CapabilitiesChangedEventData.CapabilitiesChangedEventDataUi
-
Returns the value of the
elicitationrecord 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.completedsession 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
ElicitationCompletedEventDatarecord 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.requestedsession 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
ElicitationRequestedEventDatarecord 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
ElicitationRequestedEventDataRequestedSchemarecord 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
elicitationSourcerecord 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
enabledrecord component. - enabled() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPluginsListResult.SessionPluginsListResultPluginsItem
-
Returns the value of the
enabledrecord component. - enabled() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsListResult.SessionSkillsListResultSkillsItem
-
Returns the value of the
enabledrecord component. - enabled() - Method in record class com.github.copilot.sdk.generated.SessionSkillsLoadedEvent.SessionSkillsLoadedEventData.SessionSkillsLoadedEventDataSkillsItem
-
Returns the value of the
enabledrecord component. - encryptedContent() - Method in record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData
-
Returns the value of the
encryptedContentrecord component. - entitlementRequests() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataQuotaSnapshotsValue
-
Returns the value of the
entitlementRequestsrecord component. - entitlementRequests() - Method in record class com.github.copilot.sdk.generated.rpc.AccountGetQuotaResult.AccountGetQuotaResultQuotaSnapshotsValue
-
Returns the value of the
entitlementRequestsrecord component. - entries() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReaddirResult
-
Returns the value of the
entriesrecord component. - entries() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReaddirWithTypesResult
-
Returns the value of the
entriesrecord 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
ephemeralrecord 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
errorrecord component. - error() - Method in record class com.github.copilot.sdk.generated.rpc.SessionCommandsHandlePendingCommandParams
-
Returns the value of the
errorrecord component. - error() - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpListResult.SessionMcpListResultServersItem
-
Returns the value of the
errorrecord component. - error() - Method in record class com.github.copilot.sdk.generated.rpc.SessionToolsHandlePendingToolCallParams
-
Returns the value of the
errorrecord component. - error() - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData
-
Returns the value of the
errorrecord component. - error() - Method in record class com.github.copilot.sdk.generated.SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData.SessionMcpServersLoadedEventDataServersItem
-
Returns the value of the
errorrecord component. - error() - Method in record class com.github.copilot.sdk.generated.SubagentFailedEvent.SubagentFailedEventData
-
Returns the value of the
errorrecord component. - error() - Method in record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData
-
Returns the value of the
errorrecord component. - error() - Method in record class com.github.copilot.sdk.json.DeleteSessionResponse
-
Returns the value of the
errorrecord component. - error() - Method in record class com.github.copilot.sdk.json.SessionEndHookInput
-
Returns the value of the
errorrecord component. - error() - Method in record class com.github.copilot.sdk.json.SetForegroundSessionResponse
-
Returns the value of the
errorrecord component. - error() - Method in record class com.github.copilot.sdk.json.ToolResultObject
-
Returns the value of the
errorrecord 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
errorvariant. - ERROR - Enum constant in enum class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataShutdownType
-
The
errorvariant. - errorReason() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData
-
Returns the value of the
errorReasonrecord component. - errors() - Method in record class com.github.copilot.sdk.generated.SessionCustomAgentsUpdatedEvent.SessionCustomAgentsUpdatedEventData
-
Returns the value of the
errorsrecord component. - errorType() - Method in record class com.github.copilot.sdk.generated.SessionErrorEvent.SessionErrorEventData
-
Returns the value of the
errorTyperecord component. - eventCount() - Method in record class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData
-
Returns the value of the
eventCountrecord 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
eventIdrecord component. - eventId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionLogResult
-
Returns the value of the
eventIdrecord component. - events() - Method in record class com.github.copilot.sdk.json.GetMessagesResponse
-
Returns the value of the
eventsrecord component. - eventsRemoved() - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryTruncateResult
-
Returns the value of the
eventsRemovedrecord component. - eventsRemoved() - Method in record class com.github.copilot.sdk.generated.SessionSnapshotRewindEvent.SessionSnapshotRewindEventData
-
Returns the value of the
eventsRemovedrecord 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
existsrecord component. - exists() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPlanReadResult
-
Returns the value of the
existsrecord component. - ExitPlanModeCompletedEvent - Class in com.github.copilot.sdk.generated
-
The
exit_plan_mode.completedsession 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
ExitPlanModeCompletedEventDatarecord class. - ExitPlanModeRequestedEvent - Class in com.github.copilot.sdk.generated
-
The
exit_plan_mode.requestedsession 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
ExitPlanModeRequestedEventDatarecord class. - extensions - Variable in class com.github.copilot.sdk.generated.rpc.SessionRpc
-
API methods for the
extensionsnamespace. - extensions() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult
-
Returns the value of the
extensionsrecord component. - extensions() - Method in record class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData
-
Returns the value of the
extensionsrecord component. - ExternalToolCompletedEvent - Class in com.github.copilot.sdk.generated
-
The
external_tool.completedsession 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
ExternalToolCompletedEventDatarecord class. - ExternalToolRequestedEvent - Class in com.github.copilot.sdk.generated
-
The
external_tool.requestedsession 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
ExternalToolRequestedEventDatarecord class.
F
- FAILED - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult.SessionExtensionsListResultExtensionsItem.SessionExtensionsListResultExtensionsItemStatus
-
The
failedvariant. - FAILED - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionMcpListResult.SessionMcpListResultServersItem.SessionMcpListResultServersItemStatus
-
The
failedvariant. - FAILED - Enum constant in enum class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData.SessionExtensionsLoadedEventDataExtensionsItem.SessionExtensionsLoadedEventDataExtensionsItemStatus
-
The
failedvariant. - FAILED - Enum constant in enum class com.github.copilot.sdk.generated.SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData.SessionMcpServersLoadedEventDataServersItem.SessionMcpServersLoadedEventDataServersItemStatus
-
The
failedvariant. - FAILED - Enum constant in enum class com.github.copilot.sdk.generated.SessionMcpServerStatusChangedEvent.SessionMcpServerStatusChangedEventData.SessionMcpServerStatusChangedEventDataStatus
-
The
failedvariant. - 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
feedbackrecord component. - FILE - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionFsReaddirWithTypesResult.SessionFsReaddirWithTypesResultEntriesItem.SessionFsReaddirWithTypesResultEntriesItemType
-
The
filevariant. - files() - Method in record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceListFilesResult
-
Returns the value of the
filesrecord component. - filesModified() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataCodeChanges
-
Returns the value of the
filesModifiedrecord component. - filesModifiedCount() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.SessionUsageGetMetricsResultCodeChanges
-
Returns the value of the
filesModifiedCountrecord component. - finalMessage() - Method in record class com.github.copilot.sdk.json.SessionEndHookInput
-
Returns the value of the
finalMessagerecord component. - fleet - Variable in class com.github.copilot.sdk.generated.rpc.SessionRpc
-
API methods for the
fleetnamespace. - force() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsRmParams
-
Returns the value of the
forcerecord 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
formvariant. - 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
functionvariant.
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
nullif 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
GetForegroundSessionResponserecord 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
GetLastSessionIdResponserecord 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
GetMessagesResponserecord 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.CUSTOMIZEmode. - 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
GetSessionMetadataResponserecord 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
githubvariant. - GITHUB - Enum constant in enum class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData.SessionResumeEventDataContext.SessionResumeEventDataContextHostType
-
The
githubvariant. - GITHUB - Enum constant in enum class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData.SessionStartEventDataContext.SessionStartEventDataContextHostType
-
The
githubvariant. - gitRoot() - Method in record class com.github.copilot.sdk.generated.SessionContextChangedEvent.SessionContextChangedEventData
-
Returns the value of the
gitRootrecord component. - gitRoot() - Method in record class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData.SessionResumeEventDataContext
-
Returns the value of the
gitRootrecord component. - gitRoot() - Method in record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData.SessionStartEventDataContext
-
Returns the value of the
gitRootrecord 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
handlerrecord component. - handoffTime() - Method in record class com.github.copilot.sdk.generated.SessionHandoffEvent.SessionHandoffEventData
-
Returns the value of the
handoffTimerecord 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
headCommitrecord component. - headCommit() - Method in record class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData.SessionResumeEventDataContext
-
Returns the value of the
headCommitrecord component. - headCommit() - Method in record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData.SessionStartEventDataContext
-
Returns the value of the
headCommitrecord component. - history - Variable in class com.github.copilot.sdk.generated.rpc.SessionRpc
-
API methods for the
historynamespace. - HookEndEvent - Class in com.github.copilot.sdk.generated
-
The
hook.endsession 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
HookEndEventDatarecord class. - HookEndEventDataError(String, String) - Constructor for record class com.github.copilot.sdk.generated.HookEndEvent.HookEndEventData.HookEndEventDataError
-
Creates an instance of a
HookEndEventDataErrorrecord 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
hookInvocationIdrecord component. - hookInvocationId() - Method in record class com.github.copilot.sdk.generated.HookStartEvent.HookStartEventData
-
Returns the value of the
hookInvocationIdrecord component. - HookStartEvent - Class in com.github.copilot.sdk.generated
-
The
hook.startsession 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
HookStartEventDatarecord class. - hookType() - Method in record class com.github.copilot.sdk.generated.HookEndEvent.HookEndEventData
-
Returns the value of the
hookTyperecord component. - hookType() - Method in record class com.github.copilot.sdk.generated.HookStartEvent.HookStartEventData
-
Returns the value of the
hookTyperecord component. - host() - Method in record class com.github.copilot.sdk.generated.SessionHandoffEvent.SessionHandoffEventData
-
Returns the value of the
hostrecord component. - hostType() - Method in record class com.github.copilot.sdk.generated.SessionContextChangedEvent.SessionContextChangedEventData
-
Returns the value of the
hostTyperecord component. - hostType() - Method in record class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData.SessionResumeEventDataContext
-
Returns the value of the
hostTyperecord component. - hostType() - Method in record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData.SessionStartEventDataContext
-
Returns the value of the
hostTyperecord component.
I
- id() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem
-
Returns the value of the
idrecord component. - id() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsDisableParams
-
Returns the value of the
idrecord component. - id() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsEnableParams
-
Returns the value of the
idrecord component. - id() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult.SessionExtensionsListResultExtensionsItem
-
Returns the value of the
idrecord component. - id() - Method in record class com.github.copilot.sdk.generated.SessionCustomAgentsUpdatedEvent.SessionCustomAgentsUpdatedEventData.SessionCustomAgentsUpdatedEventDataAgentsItem
-
Returns the value of the
idrecord component. - id() - Method in record class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData.SessionExtensionsLoadedEventDataExtensionsItem
-
Returns the value of the
idrecord 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
infovariant. - infoType() - Method in record class com.github.copilot.sdk.generated.SessionInfoEvent.SessionInfoEventData
-
Returns the value of the
infoTyperecord component. - initialCwd() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsSetProviderParams
-
Returns the value of the
initialCwdrecord component. - initialPrompt() - Method in record class com.github.copilot.sdk.json.SessionStartHookInput
-
Returns the value of the
initialPromptrecord component. - initiator() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData
-
Returns the value of the
initiatorrecord component. - input() - Method in record class com.github.copilot.sdk.generated.HookStartEvent.HookStartEventData
-
Returns the value of the
inputrecord component. - input() - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData.SessionCompactionCompleteEventDataCompactionTokensUsed
-
Returns the value of the
inputrecord 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
inputTokensrecord component. - inputTokens() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.SessionUsageGetMetricsResultModelMetricsValue.SessionUsageGetMetricsResultModelMetricsValueUsage
-
Returns the value of the
inputTokensrecord component. - inputTokens() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataModelMetricsValue.SessionShutdownEventDataModelMetricsValueUsage
-
Returns the value of the
inputTokensrecord component. - instructions() - Method in record class com.github.copilot.sdk.generated.rpc.ToolsListResult.ToolsListResultToolsItem
-
Returns the value of the
instructionsrecord component. - intent() - Method in record class com.github.copilot.sdk.generated.AssistantIntentEvent.AssistantIntentEventData
-
Returns the value of the
intentrecord component. - intentionSummary() - Method in record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData.AssistantMessageEventDataToolRequestsItem
-
Returns the value of the
intentionSummaryrecord component. - interactionId() - Method in record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData
-
Returns the value of the
interactionIdrecord component. - interactionId() - Method in record class com.github.copilot.sdk.generated.AssistantTurnStartEvent.AssistantTurnStartEventData
-
Returns the value of the
interactionIdrecord component. - interactionId() - Method in record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData
-
Returns the value of the
interactionIdrecord component. - interactionId() - Method in record class com.github.copilot.sdk.generated.UserMessageEvent.UserMessageEventData
-
Returns the value of the
interactionIdrecord component. - INTERACTIVE - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionModeGetResult.SessionModeGetResultMode
-
The
interactivevariant. - INTERACTIVE - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionModeSetParams.SessionModeSetParamsMode
-
The
interactivevariant. - INTERACTIVE - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionModeSetResult.SessionModeSetResultMode
-
The
interactivevariant. - INTERACTIVE - Enum constant in enum class com.github.copilot.sdk.generated.UserMessageEvent.UserMessageEventData.UserMessageEventDataAgentMode
-
The
interactivevariant. - interTokenLatencyMs() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData
-
Returns the value of the
interTokenLatencyMsrecord 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
isDirectoryrecord 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
isFilerecord component. - isInitial() - Method in record class com.github.copilot.sdk.generated.SessionUsageInfoEvent.SessionUsageInfoEventData
-
Returns the value of the
isInitialrecord 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
isUnlimitedEntitlementrecord component. - isUserRequested() - Method in record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData
-
Returns the value of the
isUserRequestedrecord 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
killedrecord component. - kind() - Method in record class com.github.copilot.sdk.generated.PermissionCompletedEvent.PermissionCompletedEventData.PermissionCompletedEventDataResult
-
Returns the value of the
kindrecord component. - kind() - Method in record class com.github.copilot.sdk.generated.SystemNotificationEvent.SystemNotificationEventData
-
Returns the value of the
kindrecord 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
lastCallInputTokensrecord component. - lastCallOutputTokens() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult
-
Returns the value of the
lastCallOutputTokensrecord 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
levelrecord component. - limits() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities
-
Returns the value of the
limitsrecord component. - limits() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities
-
Returns the value of the
limitsrecord 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
linesAddedrecord component. - linesAdded() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataCodeChanges
-
Returns the value of the
linesAddedrecord component. - linesRemoved() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.SessionUsageGetMetricsResultCodeChanges
-
Returns the value of the
linesRemovedrecord component. - linesRemoved() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataCodeChanges
-
Returns the value of the
linesRemovedrecord 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
ListSessionsResponserecord class. - LOCAL - Enum constant in enum class com.github.copilot.sdk.generated.SessionHandoffEvent.SessionHandoffEventData.SessionHandoffEventDataSourceType
-
The
localvariant. - 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
marketplacerecord component. - maxContextWindowTokens() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities.ModelsListResultModelsItemCapabilitiesLimits
-
Returns the value of the
maxContextWindowTokensrecord component. - maxContextWindowTokens() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities.SessionModelSwitchToParamsModelCapabilitiesLimits
-
Returns the value of the
maxContextWindowTokensrecord component. - maxOutputTokens() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities.ModelsListResultModelsItemCapabilitiesLimits
-
Returns the value of the
maxOutputTokensrecord component. - maxOutputTokens() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities.SessionModelSwitchToParamsModelCapabilitiesLimits
-
Returns the value of the
maxOutputTokensrecord component. - maxPromptImages() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities.ModelsListResultModelsItemCapabilitiesLimits.ModelsListResultModelsItemCapabilitiesLimitsVision
-
Returns the value of the
maxPromptImagesrecord component. - maxPromptImages() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities.SessionModelSwitchToParamsModelCapabilitiesLimits.SessionModelSwitchToParamsModelCapabilitiesLimitsVision
-
Returns the value of the
maxPromptImagesrecord component. - maxPromptImageSize() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities.ModelsListResultModelsItemCapabilitiesLimits.ModelsListResultModelsItemCapabilitiesLimitsVision
-
Returns the value of the
maxPromptImageSizerecord component. - maxPromptImageSize() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities.SessionModelSwitchToParamsModelCapabilitiesLimits.SessionModelSwitchToParamsModelCapabilitiesLimitsVision
-
Returns the value of the
maxPromptImageSizerecord component. - maxPromptTokens() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities.ModelsListResultModelsItemCapabilitiesLimits
-
Returns the value of the
maxPromptTokensrecord component. - maxPromptTokens() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities.SessionModelSwitchToParamsModelCapabilitiesLimits
-
Returns the value of the
maxPromptTokensrecord component. - mcp - Variable in class com.github.copilot.sdk.generated.rpc.ServerRpc
-
API methods for the
mcpnamespace. - mcp - Variable in class com.github.copilot.sdk.generated.rpc.SessionRpc
-
API methods for the
mcpnamespace. - McpConfigAddParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
mcp.config.addRPC method. - McpConfigAddParams(String, Object) - Constructor for record class com.github.copilot.sdk.generated.rpc.McpConfigAddParams
-
Creates an instance of a
McpConfigAddParamsrecord class. - McpConfigListResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
mcp.config.listRPC method. - McpConfigListResult(Map<String, Object>) - Constructor for record class com.github.copilot.sdk.generated.rpc.McpConfigListResult
-
Creates an instance of a
McpConfigListResultrecord class. - McpConfigRemoveParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
mcp.config.removeRPC method. - McpConfigRemoveParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.McpConfigRemoveParams
-
Creates an instance of a
McpConfigRemoveParamsrecord class. - McpConfigUpdateParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
mcp.config.updateRPC method. - McpConfigUpdateParams(String, Object) - Constructor for record class com.github.copilot.sdk.generated.rpc.McpConfigUpdateParams
-
Creates an instance of a
McpConfigUpdateParamsrecord class. - McpDiscoverParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
mcp.discoverRPC method. - McpDiscoverParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.McpDiscoverParams
-
Creates an instance of a
McpDiscoverParamsrecord class. - McpDiscoverResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
mcp.discoverRPC method. - McpDiscoverResult(List<McpDiscoverResult.McpDiscoverResultServersItem>) - Constructor for record class com.github.copilot.sdk.generated.rpc.McpDiscoverResult
-
Creates an instance of a
McpDiscoverResultrecord 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
McpDiscoverResultServersItemrecord 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_completedsession 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
McpOauthCompletedEventDatarecord class. - McpOauthRequiredEvent - Class in com.github.copilot.sdk.generated
-
The
mcp.oauth_requiredsession 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
McpOauthRequiredEventDatarecord class. - McpOauthRequiredEventDataStaticClientConfig(String, Boolean) - Constructor for record class com.github.copilot.sdk.generated.McpOauthRequiredEvent.McpOauthRequiredEventData.McpOauthRequiredEventDataStaticClientConfig
-
Creates an instance of a
McpOauthRequiredEventDataStaticClientConfigrecord class. - mcpRequestId() - Method in record class com.github.copilot.sdk.generated.SamplingRequestedEvent.SamplingRequestedEventData
-
Returns the value of the
mcpRequestIdrecord 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
mcpServerNamerecord component. - mcpServerName() - Method in record class com.github.copilot.sdk.generated.ToolExecutionStartEvent.ToolExecutionStartEventData
-
Returns the value of the
mcpServerNamerecord 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
mcpToolNamerecord component. - message() - Method in record class com.github.copilot.sdk.generated.ElicitationRequestedEvent.ElicitationRequestedEventData
-
Returns the value of the
messagerecord component. - message() - Method in record class com.github.copilot.sdk.generated.HookEndEvent.HookEndEventData.HookEndEventDataError
-
Returns the value of the
messagerecord component. - message() - Method in record class com.github.copilot.sdk.generated.rpc.PingParams
-
Returns the value of the
messagerecord component. - message() - Method in record class com.github.copilot.sdk.generated.rpc.PingResult
-
Returns the value of the
messagerecord component. - message() - Method in record class com.github.copilot.sdk.generated.rpc.SessionLogParams
-
Returns the value of the
messagerecord component. - message() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiElicitationParams
-
Returns the value of the
messagerecord component. - message() - Method in record class com.github.copilot.sdk.generated.SessionErrorEvent.SessionErrorEventData
-
Returns the value of the
messagerecord component. - message() - Method in record class com.github.copilot.sdk.generated.SessionInfoEvent.SessionInfoEventData
-
Returns the value of the
messagerecord component. - message() - Method in record class com.github.copilot.sdk.generated.SessionWarningEvent.SessionWarningEventData
-
Returns the value of the
messagerecord component. - message() - Method in record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData.ToolExecutionCompleteEventDataError
-
Returns the value of the
messagerecord component. - message() - Method in record class com.github.copilot.sdk.json.PingResponse
-
Returns the value of the
messagerecord 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
messageIdrecord component. - messageId() - Method in record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData
-
Returns the value of the
messageIdrecord component. - messageId() - Method in record class com.github.copilot.sdk.json.SendMessageResponse
-
Returns the value of the
messageIdrecord 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
messagesLengthrecord component. - messagesLength() - Method in record class com.github.copilot.sdk.generated.SessionUsageInfoEvent.SessionUsageInfoEventData
-
Returns the value of the
messagesLengthrecord component. - messagesRemoved() - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryCompactResult
-
Returns the value of the
messagesRemovedrecord component. - messagesRemoved() - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData
-
Returns the value of the
messagesRemovedrecord component. - messagesRemovedDuringTruncation() - Method in record class com.github.copilot.sdk.generated.SessionTruncationEvent.SessionTruncationEventData
-
Returns the value of the
messagesRemovedDuringTruncationrecord component. - metadata() - Method in record class com.github.copilot.sdk.generated.SystemMessageEvent.SystemMessageEventData
-
Returns the value of the
metadatarecord component. - mimeType() - Method in record class com.github.copilot.sdk.json.ToolBinaryResult
-
Returns the value of the
mimeTyperecord component. - mode - Variable in class com.github.copilot.sdk.generated.rpc.SessionRpc
-
API methods for the
modenamespace. - mode() - Method in record class com.github.copilot.sdk.generated.ElicitationRequestedEvent.ElicitationRequestedEventData
-
Returns the value of the
moderecord component. - mode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsAppendFileParams
-
Returns the value of the
moderecord component. - mode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsMkdirParams
-
Returns the value of the
moderecord component. - mode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsWriteFileParams
-
Returns the value of the
moderecord component. - mode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModeGetResult
-
Returns the value of the
moderecord component. - mode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModeSetParams
-
Returns the value of the
moderecord component. - mode() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModeSetResult
-
Returns the value of the
moderecord component. - model - Variable in class com.github.copilot.sdk.generated.rpc.SessionRpc
-
API methods for the
modelnamespace. - model() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData
-
Returns the value of the
modelrecord component. - model() - Method in record class com.github.copilot.sdk.generated.rpc.ToolsListParams
-
Returns the value of the
modelrecord component. - model() - Method in record class com.github.copilot.sdk.generated.SessionCustomAgentsUpdatedEvent.SessionCustomAgentsUpdatedEventData.SessionCustomAgentsUpdatedEventDataAgentsItem
-
Returns the value of the
modelrecord component. - model() - Method in record class com.github.copilot.sdk.generated.SessionToolsUpdatedEvent.SessionToolsUpdatedEventData
-
Returns the value of the
modelrecord component. - model() - Method in record class com.github.copilot.sdk.generated.SubagentCompletedEvent.SubagentCompletedEventData
-
Returns the value of the
modelrecord component. - model() - Method in record class com.github.copilot.sdk.generated.SubagentFailedEvent.SubagentFailedEventData
-
Returns the value of the
modelrecord component. - model() - Method in record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData
-
Returns the value of the
modelrecord 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
modelCapabilitiesrecord 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
modelIdrecord component. - modelId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams
-
Returns the value of the
modelIdrecord component. - modelId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToResult
-
Returns the value of the
modelIdrecord 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
modelMetricsrecord component. - modelMetrics() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData
-
Returns the value of the
modelMetricsrecord 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
modelsnamespace. - models() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult
-
Returns the value of the
modelsrecord component. - ModelsListResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
models.listRPC method. - ModelsListResult(List<ModelsListResult.ModelsListResultModelsItem>) - Constructor for record class com.github.copilot.sdk.generated.rpc.ModelsListResult
-
Creates an instance of a
ModelsListResultrecord 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
ModelsListResultModelsItemrecord class. - ModelsListResultModelsItemBilling(Double) - Constructor for record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemBilling
-
Creates an instance of a
ModelsListResultModelsItemBillingrecord 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
ModelsListResultModelsItemCapabilitiesrecord 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
ModelsListResultModelsItemCapabilitiesLimitsrecord 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
ModelsListResultModelsItemCapabilitiesLimitsVisionrecord class. - ModelsListResultModelsItemCapabilitiesSupports(Boolean, Boolean) - Constructor for record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities.ModelsListResultModelsItemCapabilitiesSupports
-
Creates an instance of a
ModelsListResultModelsItemCapabilitiesSupportsrecord class. - ModelsListResultModelsItemPolicy(String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemPolicy
-
Creates an instance of a
ModelsListResultModelsItemPolicyrecord 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
modifiedArgsrecord component. - modifiedConfig() - Method in record class com.github.copilot.sdk.json.SessionStartHookOutput
-
Returns the value of the
modifiedConfigrecord component. - modifiedPrompt() - Method in record class com.github.copilot.sdk.json.UserPromptSubmittedHookOutput
-
Returns the value of the
modifiedPromptrecord component. - modifiedResult() - Method in record class com.github.copilot.sdk.json.PostToolUseHookOutput
-
Returns the value of the
modifiedResultrecord component. - modifiedTime() - Method in record class com.github.copilot.sdk.json.SessionLifecycleEventMetadata
-
Returns the value of the
modifiedTimerecord component. - mtime() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsStatResult
-
Returns the value of the
mtimerecord component. - multiplier() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemBilling
-
Returns the value of the
multiplierrecord component.
N
- name() - Method in record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData.AssistantMessageEventDataToolRequestsItem
-
Returns the value of the
namerecord component. - name() - Method in record class com.github.copilot.sdk.generated.CommandsChangedEvent.CommandsChangedEventData.CommandsChangedEventDataCommandsItem
-
Returns the value of the
namerecord component. - name() - Method in record class com.github.copilot.sdk.generated.rpc.McpConfigAddParams
-
Returns the value of the
namerecord component. - name() - Method in record class com.github.copilot.sdk.generated.rpc.McpConfigRemoveParams
-
Returns the value of the
namerecord component. - name() - Method in record class com.github.copilot.sdk.generated.rpc.McpConfigUpdateParams
-
Returns the value of the
namerecord component. - name() - Method in record class com.github.copilot.sdk.generated.rpc.McpDiscoverResult.McpDiscoverResultServersItem
-
Returns the value of the
namerecord component. - name() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem
-
Returns the value of the
namerecord component. - name() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentGetCurrentResult.SessionAgentGetCurrentResultAgent
-
Returns the value of the
namerecord component. - name() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentListResult.SessionAgentListResultAgentsItem
-
Returns the value of the
namerecord component. - name() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentReloadResult.SessionAgentReloadResultAgentsItem
-
Returns the value of the
namerecord component. - name() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentSelectParams
-
Returns the value of the
namerecord component. - name() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentSelectResult.SessionAgentSelectResultAgent
-
Returns the value of the
namerecord component. - name() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult.SessionExtensionsListResultExtensionsItem
-
Returns the value of the
namerecord component. - name() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReaddirWithTypesResult.SessionFsReaddirWithTypesResultEntriesItem
-
Returns the value of the
namerecord component. - name() - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpListResult.SessionMcpListResultServersItem
-
Returns the value of the
namerecord component. - name() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPluginsListResult.SessionPluginsListResultPluginsItem
-
Returns the value of the
namerecord component. - name() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsDisableParams
-
Returns the value of the
namerecord component. - name() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsEnableParams
-
Returns the value of the
namerecord component. - name() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsListResult.SessionSkillsListResultSkillsItem
-
Returns the value of the
namerecord component. - name() - Method in record class com.github.copilot.sdk.generated.rpc.ToolsListResult.ToolsListResultToolsItem
-
Returns the value of the
namerecord component. - name() - Method in record class com.github.copilot.sdk.generated.SessionCustomAgentsUpdatedEvent.SessionCustomAgentsUpdatedEventData.SessionCustomAgentsUpdatedEventDataAgentsItem
-
Returns the value of the
namerecord component. - name() - Method in record class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData.SessionExtensionsLoadedEventDataExtensionsItem
-
Returns the value of the
namerecord component. - name() - Method in record class com.github.copilot.sdk.generated.SessionHandoffEvent.SessionHandoffEventData.SessionHandoffEventDataRepository
-
Returns the value of the
namerecord component. - name() - Method in record class com.github.copilot.sdk.generated.SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData.SessionMcpServersLoadedEventDataServersItem
-
Returns the value of the
namerecord component. - name() - Method in record class com.github.copilot.sdk.generated.SessionSkillsLoadedEvent.SessionSkillsLoadedEventData.SessionSkillsLoadedEventDataSkillsItem
-
Returns the value of the
namerecord component. - name() - Method in record class com.github.copilot.sdk.generated.SkillInvokedEvent.SkillInvokedEventData
-
Returns the value of the
namerecord component. - name() - Method in record class com.github.copilot.sdk.generated.SystemMessageEvent.SystemMessageEventData
-
Returns the value of the
namerecord component. - name() - Method in record class com.github.copilot.sdk.json.ToolDefinition
-
Returns the value of the
namerecord component. - namespacedName() - Method in record class com.github.copilot.sdk.generated.rpc.ToolsListResult.ToolsListResultToolsItem
-
Returns the value of the
namespacedNamerecord component. - NEEDS_AUTH - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionMcpListResult.SessionMcpListResultServersItem.SessionMcpListResultServersItemStatus
-
The
needs-authvariant. - NEEDS_AUTH - Enum constant in enum class com.github.copilot.sdk.generated.SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData.SessionMcpServersLoadedEventDataServersItem.SessionMcpServersLoadedEventDataServersItemStatus
-
The
needs-authvariant. - NEEDS_AUTH - Enum constant in enum class com.github.copilot.sdk.generated.SessionMcpServerStatusChangedEvent.SessionMcpServerStatusChangedEventData.SessionMcpServerStatusChangedEventDataStatus
-
The
needs-authvariant. - newMode() - Method in record class com.github.copilot.sdk.generated.SessionModeChangedEvent.SessionModeChangedEventData
-
Returns the value of the
newModerecord component. - newModel() - Method in record class com.github.copilot.sdk.generated.SessionModelChangeEvent.SessionModelChangeEventData
-
Returns the value of the
newModelrecord 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_configuredvariant. - NOT_CONFIGURED - Enum constant in enum class com.github.copilot.sdk.generated.SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData.SessionMcpServersLoadedEventDataServersItem.SessionMcpServersLoadedEventDataServersItemStatus
-
The
not_configuredvariant. - NOT_CONFIGURED - Enum constant in enum class com.github.copilot.sdk.generated.SessionMcpServerStatusChangedEvent.SessionMcpServerStatusChangedEventData.SessionMcpServerStatusChangedEventDataStatus
-
The
not_configuredvariant.
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
operationrecord component. - operation() - Method in record class com.github.copilot.sdk.generated.SessionWorkspaceFileChangedEvent.SessionWorkspaceFileChangedEventData
-
Returns the value of the
operationrecord component. - output() - Method in record class com.github.copilot.sdk.generated.HookEndEvent.HookEndEventData
-
Returns the value of the
outputrecord component. - output() - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData.SessionCompactionCompleteEventDataCompactionTokensUsed
-
Returns the value of the
outputrecord component. - outputTokens() - Method in record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData
-
Returns the value of the
outputTokensrecord component. - outputTokens() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData
-
Returns the value of the
outputTokensrecord component. - outputTokens() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.SessionUsageGetMetricsResultModelMetricsValue.SessionUsageGetMetricsResultModelMetricsValueUsage
-
Returns the value of the
outputTokensrecord component. - outputTokens() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataModelMetricsValue.SessionShutdownEventDataModelMetricsValueUsage
-
Returns the value of the
outputTokensrecord component. - overage() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataQuotaSnapshotsValue
-
Returns the value of the
overagerecord component. - overage() - Method in record class com.github.copilot.sdk.generated.rpc.AccountGetQuotaResult.AccountGetQuotaResultQuotaSnapshotsValue
-
Returns the value of the
overagerecord component. - overageAllowedWithExhaustedQuota() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataQuotaSnapshotsValue
-
Returns the value of the
overageAllowedWithExhaustedQuotarecord component. - overageAllowedWithExhaustedQuota() - Method in record class com.github.copilot.sdk.generated.rpc.AccountGetQuotaResult.AccountGetQuotaResultQuotaSnapshotsValue
-
Returns the value of the
overageAllowedWithExhaustedQuotarecord component. - overridesBuiltInTool() - Method in record class com.github.copilot.sdk.json.ToolDefinition
-
Returns the value of the
overridesBuiltInToolrecord component. - owner() - Method in record class com.github.copilot.sdk.generated.SessionHandoffEvent.SessionHandoffEventData.SessionHandoffEventDataRepository
-
Returns the value of the
ownerrecord component.
P
- parameters() - Method in record class com.github.copilot.sdk.generated.rpc.ToolsListResult.ToolsListResultToolsItem
-
Returns the value of the
parametersrecord component. - parameters() - Method in record class com.github.copilot.sdk.json.ToolDefinition
-
Returns the value of the
parametersrecord component. - parentToolCallId() - Method in record class com.github.copilot.sdk.generated.AssistantMessageDeltaEvent.AssistantMessageDeltaEventData
-
Returns the value of the
parentToolCallIdrecord component. - parentToolCallId() - Method in record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData
-
Returns the value of the
parentToolCallIdrecord component. - parentToolCallId() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData
-
Returns the value of the
parentToolCallIdrecord component. - parentToolCallId() - Method in record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData
-
Returns the value of the
parentToolCallIdrecord component. - parentToolCallId() - Method in record class com.github.copilot.sdk.generated.ToolExecutionStartEvent.ToolExecutionStartEventData
-
Returns the value of the
parentToolCallIdrecord component. - partialOutput() - Method in record class com.github.copilot.sdk.generated.ToolExecutionPartialResultEvent.ToolExecutionPartialResultEventData
-
Returns the value of the
partialOutputrecord component. - path() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsAppendFileParams
-
Returns the value of the
pathrecord component. - path() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsExistsParams
-
Returns the value of the
pathrecord component. - path() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsMkdirParams
-
Returns the value of the
pathrecord component. - path() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReaddirParams
-
Returns the value of the
pathrecord component. - path() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReaddirWithTypesParams
-
Returns the value of the
pathrecord component. - path() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReadFileParams
-
Returns the value of the
pathrecord component. - path() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsRmParams
-
Returns the value of the
pathrecord component. - path() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsStatParams
-
Returns the value of the
pathrecord component. - path() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsWriteFileParams
-
Returns the value of the
pathrecord component. - path() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPlanReadResult
-
Returns the value of the
pathrecord component. - path() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsListResult.SessionSkillsListResultSkillsItem
-
Returns the value of the
pathrecord component. - path() - Method in record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceCreateFileParams
-
Returns the value of the
pathrecord component. - path() - Method in record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceReadFileParams
-
Returns the value of the
pathrecord component. - path() - Method in record class com.github.copilot.sdk.generated.SessionSkillsLoadedEvent.SessionSkillsLoadedEventData.SessionSkillsLoadedEventDataSkillsItem
-
Returns the value of the
pathrecord component. - path() - Method in record class com.github.copilot.sdk.generated.SessionWorkspaceFileChangedEvent.SessionWorkspaceFileChangedEventData
-
Returns the value of the
pathrecord component. - path() - Method in record class com.github.copilot.sdk.generated.SkillInvokedEvent.SkillInvokedEventData
-
Returns the value of the
pathrecord component. - path() - Method in record class com.github.copilot.sdk.json.Attachment
-
Returns the value of the
pathrecord component. - PENDING - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionMcpListResult.SessionMcpListResultServersItem.SessionMcpListResultServersItemStatus
-
The
pendingvariant. - PENDING - Enum constant in enum class com.github.copilot.sdk.generated.SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData.SessionMcpServersLoadedEventDataServersItem.SessionMcpServersLoadedEventDataServersItemStatus
-
The
pendingvariant. - PENDING - Enum constant in enum class com.github.copilot.sdk.generated.SessionMcpServerStatusChangedEvent.SessionMcpServerStatusChangedEventData.SessionMcpServerStatusChangedEventDataStatus
-
The
pendingvariant. - PendingMessagesModifiedEvent - Class in com.github.copilot.sdk.generated
-
The
pending_messages.modifiedsession event. - PendingMessagesModifiedEvent() - Constructor for class com.github.copilot.sdk.generated.PendingMessagesModifiedEvent
- PendingMessagesModifiedEvent.PendingMessagesModifiedEventData - Record Class in com.github.copilot.sdk.generated
-
Data payload for
PendingMessagesModifiedEvent. - PendingMessagesModifiedEventData() - Constructor for record class com.github.copilot.sdk.generated.PendingMessagesModifiedEvent.PendingMessagesModifiedEventData
-
Creates an instance of a
PendingMessagesModifiedEventDatarecord class. - performedBy() - Method in record class com.github.copilot.sdk.generated.SessionTruncationEvent.SessionTruncationEventData
-
Returns the value of the
performedByrecord component. - PermissionCompletedEvent - Class in com.github.copilot.sdk.generated
-
The
permission.completedsession 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
PermissionCompletedEventDatarecord class. - PermissionCompletedEventDataResult(PermissionCompletedEvent.PermissionCompletedEventData.PermissionCompletedEventDataResult.PermissionCompletedEventDataResultKind) - Constructor for record class com.github.copilot.sdk.generated.PermissionCompletedEvent.PermissionCompletedEventData.PermissionCompletedEventDataResult
-
Creates an instance of a
PermissionCompletedEventDataResultrecord class. - permissionDecision() - Method in record class com.github.copilot.sdk.json.PreToolUseHookOutput
-
Returns the value of the
permissionDecisionrecord component. - permissionDecisionReason() - Method in record class com.github.copilot.sdk.json.PreToolUseHookOutput
-
Returns the value of the
permissionDecisionReasonrecord 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
permissionRequestrecord 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.requestedsession 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
PermissionRequestedEventDatarecord 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
PermissionRequestResultKindwith the given string value. - permissions - Variable in class com.github.copilot.sdk.generated.rpc.SessionRpc
-
API methods for the
permissionsnamespace. - phase() - Method in record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData
-
Returns the value of the
phaserecord component. - pid() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult.SessionExtensionsListResultExtensionsItem
-
Returns the value of the
pidrecord 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
pingRPC method. - PingParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.PingParams
-
Creates an instance of a
PingParamsrecord 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
PingResponserecord class. - PingResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
pingRPC method. - PingResult(String, Double, Double) - Constructor for record class com.github.copilot.sdk.generated.rpc.PingResult
-
Creates an instance of a
PingResultrecord class. - plan - Variable in class com.github.copilot.sdk.generated.rpc.SessionRpc
-
API methods for the
plannamespace. - PLAN - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionModeGetResult.SessionModeGetResultMode
-
The
planvariant. - PLAN - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionModeSetParams.SessionModeSetParamsMode
-
The
planvariant. - PLAN - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionModeSetResult.SessionModeSetResultMode
-
The
planvariant. - PLAN - Enum constant in enum class com.github.copilot.sdk.generated.UserMessageEvent.UserMessageEventData.UserMessageEventDataAgentMode
-
The
planvariant. - planContent() - Method in record class com.github.copilot.sdk.generated.ExitPlanModeRequestedEvent.ExitPlanModeRequestedEventData
-
Returns the value of the
planContentrecord component. - PLUGIN - Enum constant in enum class com.github.copilot.sdk.generated.rpc.McpDiscoverResult.McpDiscoverResultServersItem.McpDiscoverResultServersItemSource
-
The
pluginvariant. - pluginName() - Method in record class com.github.copilot.sdk.generated.SkillInvokedEvent.SkillInvokedEventData
-
Returns the value of the
pluginNamerecord component. - plugins - Variable in class com.github.copilot.sdk.generated.rpc.SessionRpc
-
API methods for the
pluginsnamespace. - plugins() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPluginsListResult
-
Returns the value of the
pluginsrecord component. - pluginVersion() - Method in record class com.github.copilot.sdk.generated.SkillInvokedEvent.SkillInvokedEventData
-
Returns the value of the
pluginVersionrecord component. - policy() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem
-
Returns the value of the
policyrecord component. - POSIX - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionFsSetProviderParams.SessionFsSetProviderParamsConventions
-
The
posixvariant. - postCompactionTokens() - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData
-
Returns the value of the
postCompactionTokensrecord 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
PostToolUseHookOutputrecord class. - postTruncationMessagesLength() - Method in record class com.github.copilot.sdk.generated.SessionTruncationEvent.SessionTruncationEventData
-
Returns the value of the
postTruncationMessagesLengthrecord component. - postTruncationTokensInMessages() - Method in record class com.github.copilot.sdk.generated.SessionTruncationEvent.SessionTruncationEventData
-
Returns the value of the
postTruncationTokensInMessagesrecord component. - preCompactionMessagesLength() - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData
-
Returns the value of the
preCompactionMessagesLengthrecord component. - preCompactionTokens() - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData
-
Returns the value of the
preCompactionTokensrecord 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
PreToolUseHookOutputrecord class. - preTruncationMessagesLength() - Method in record class com.github.copilot.sdk.generated.SessionTruncationEvent.SessionTruncationEventData
-
Returns the value of the
preTruncationMessagesLengthrecord component. - preTruncationTokensInMessages() - Method in record class com.github.copilot.sdk.generated.SessionTruncationEvent.SessionTruncationEventData
-
Returns the value of the
preTruncationTokensInMessagesrecord component. - previousMode() - Method in record class com.github.copilot.sdk.generated.SessionModeChangedEvent.SessionModeChangedEventData
-
Returns the value of the
previousModerecord component. - previousModel() - Method in record class com.github.copilot.sdk.generated.SessionModelChangeEvent.SessionModelChangeEventData
-
Returns the value of the
previousModelrecord component. - previousReasoningEffort() - Method in record class com.github.copilot.sdk.generated.SessionModelChangeEvent.SessionModelChangeEventData
-
Returns the value of the
previousReasoningEffortrecord component. - processId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionShellExecResult
-
Returns the value of the
processIdrecord component. - processId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionShellKillParams
-
Returns the value of the
processIdrecord component. - producer() - Method in record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData
-
Returns the value of the
producerrecord component. - progressMessage() - Method in record class com.github.copilot.sdk.generated.ToolExecutionProgressEvent.ToolExecutionProgressEventData
-
Returns the value of the
progressMessagerecord component. - PROJECT - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult.SessionExtensionsListResultExtensionsItem.SessionExtensionsListResultExtensionsItemSource
-
The
projectvariant. - PROJECT - Enum constant in enum class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData.SessionExtensionsLoadedEventDataExtensionsItem.SessionExtensionsLoadedEventDataExtensionsItemSource
-
The
projectvariant. - prompt() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFleetStartParams
-
Returns the value of the
promptrecord component. - prompt() - Method in record class com.github.copilot.sdk.json.UserPromptSubmittedHookInput
-
Returns the value of the
promptrecord component. - promptVersion() - Method in record class com.github.copilot.sdk.generated.SystemMessageEvent.SystemMessageEventData.SystemMessageEventDataMetadata
-
Returns the value of the
promptVersionrecord 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
propertiesrecord component. - properties() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiElicitationParams.SessionUiElicitationParamsRequestedSchema
-
Returns the value of the
propertiesrecord component. - protocolVersion() - Method in record class com.github.copilot.sdk.generated.rpc.PingResult
-
Returns the value of the
protocolVersionrecord component. - protocolVersion() - Method in record class com.github.copilot.sdk.json.PingResponse
-
Returns the value of the
protocolVersionrecord component. - providerCallId() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData
-
Returns the value of the
providerCallIdrecord component. - providerCallId() - Method in record class com.github.copilot.sdk.generated.SessionErrorEvent.SessionErrorEventData
-
Returns the value of the
providerCallIdrecord 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
publicClientrecord component.
Q
- question() - Method in record class com.github.copilot.sdk.generated.UserInputRequestedEvent.UserInputRequestedEventData
-
Returns the value of the
questionrecord component. - quotaSnapshots() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData
-
Returns the value of the
quotaSnapshotsrecord component. - quotaSnapshots() - Method in record class com.github.copilot.sdk.generated.rpc.AccountGetQuotaResult
-
Returns the value of the
quotaSnapshotsrecord 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
reasonrecord component. - reason() - Method in record class com.github.copilot.sdk.json.SessionEndHookInput
-
Returns the value of the
reasonrecord component. - reasoningEffort() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData
-
Returns the value of the
reasoningEffortrecord component. - reasoningEffort() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities.ModelsListResultModelsItemCapabilitiesSupports
-
Returns the value of the
reasoningEffortrecord component. - reasoningEffort() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams
-
Returns the value of the
reasoningEffortrecord component. - reasoningEffort() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities.SessionModelSwitchToParamsModelCapabilitiesSupports
-
Returns the value of the
reasoningEffortrecord component. - reasoningEffort() - Method in record class com.github.copilot.sdk.generated.SessionModelChangeEvent.SessionModelChangeEventData
-
Returns the value of the
reasoningEffortrecord component. - reasoningEffort() - Method in record class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData
-
Returns the value of the
reasoningEffortrecord component. - reasoningEffort() - Method in record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData
-
Returns the value of the
reasoningEffortrecord component. - reasoningId() - Method in record class com.github.copilot.sdk.generated.AssistantReasoningDeltaEvent.AssistantReasoningDeltaEventData
-
Returns the value of the
reasoningIdrecord component. - reasoningId() - Method in record class com.github.copilot.sdk.generated.AssistantReasoningEvent.AssistantReasoningEventData
-
Returns the value of the
reasoningIdrecord component. - reasoningOpaque() - Method in record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData
-
Returns the value of the
reasoningOpaquerecord component. - reasoningText() - Method in record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData
-
Returns the value of the
reasoningTextrecord component. - reasoningTokens() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData
-
Returns the value of the
reasoningTokensrecord component. - reasoningTokens() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.SessionUsageGetMetricsResultModelMetricsValue.SessionUsageGetMetricsResultModelMetricsValueUsage
-
Returns the value of the
reasoningTokensrecord component. - reasoningTokens() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataModelMetricsValue.SessionShutdownEventDataModelMetricsValueUsage
-
Returns the value of the
reasoningTokensrecord component. - recommendedAction() - Method in record class com.github.copilot.sdk.generated.ExitPlanModeRequestedEvent.ExitPlanModeRequestedEventData
-
Returns the value of the
recommendedActionrecord component. - recursive() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsMkdirParams
-
Returns the value of the
recursiverecord component. - recursive() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsRmParams
-
Returns the value of the
recursiverecord 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
remainingPercentagerecord component. - remainingPercentage() - Method in record class com.github.copilot.sdk.generated.rpc.AccountGetQuotaResult.AccountGetQuotaResultQuotaSnapshotsValue
-
Returns the value of the
remainingPercentagerecord component. - REMOTE - Enum constant in enum class com.github.copilot.sdk.generated.SessionHandoffEvent.SessionHandoffEventData.SessionHandoffEventDataSourceType
-
The
remotevariant. - remoteSessionId() - Method in record class com.github.copilot.sdk.generated.SessionHandoffEvent.SessionHandoffEventData
-
Returns the value of the
remoteSessionIdrecord component. - remoteSteerable() - Method in record class com.github.copilot.sdk.generated.SessionRemoteSteerableChangedEvent.SessionRemoteSteerableChangedEventData
-
Returns the value of the
remoteSteerablerecord component. - remoteSteerable() - Method in record class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData
-
Returns the value of the
remoteSteerablerecord component. - remoteSteerable() - Method in record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData
-
Returns the value of the
remoteSteerablerecord 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
repositoryrecord component. - repository() - Method in record class com.github.copilot.sdk.generated.SessionHandoffEvent.SessionHandoffEventData
-
Returns the value of the
repositoryrecord component. - repository() - Method in record class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData.SessionResumeEventDataContext
-
Returns the value of the
repositoryrecord component. - repository() - Method in record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData.SessionStartEventDataContext
-
Returns the value of the
repositoryrecord component. - requestedSchema() - Method in record class com.github.copilot.sdk.generated.ElicitationRequestedEvent.ElicitationRequestedEventData
-
Returns the value of the
requestedSchemarecord component. - requestedSchema() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiElicitationParams
-
Returns the value of the
requestedSchemarecord component. - requestId() - Method in record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData
-
Returns the value of the
requestIdrecord component. - requestId() - Method in record class com.github.copilot.sdk.generated.CommandCompletedEvent.CommandCompletedEventData
-
Returns the value of the
requestIdrecord component. - requestId() - Method in record class com.github.copilot.sdk.generated.CommandExecuteEvent.CommandExecuteEventData
-
Returns the value of the
requestIdrecord component. - requestId() - Method in record class com.github.copilot.sdk.generated.CommandQueuedEvent.CommandQueuedEventData
-
Returns the value of the
requestIdrecord component. - requestId() - Method in record class com.github.copilot.sdk.generated.ElicitationCompletedEvent.ElicitationCompletedEventData
-
Returns the value of the
requestIdrecord component. - requestId() - Method in record class com.github.copilot.sdk.generated.ElicitationRequestedEvent.ElicitationRequestedEventData
-
Returns the value of the
requestIdrecord component. - requestId() - Method in record class com.github.copilot.sdk.generated.ExitPlanModeCompletedEvent.ExitPlanModeCompletedEventData
-
Returns the value of the
requestIdrecord component. - requestId() - Method in record class com.github.copilot.sdk.generated.ExitPlanModeRequestedEvent.ExitPlanModeRequestedEventData
-
Returns the value of the
requestIdrecord component. - requestId() - Method in record class com.github.copilot.sdk.generated.ExternalToolCompletedEvent.ExternalToolCompletedEventData
-
Returns the value of the
requestIdrecord component. - requestId() - Method in record class com.github.copilot.sdk.generated.ExternalToolRequestedEvent.ExternalToolRequestedEventData
-
Returns the value of the
requestIdrecord component. - requestId() - Method in record class com.github.copilot.sdk.generated.McpOauthCompletedEvent.McpOauthCompletedEventData
-
Returns the value of the
requestIdrecord component. - requestId() - Method in record class com.github.copilot.sdk.generated.McpOauthRequiredEvent.McpOauthRequiredEventData
-
Returns the value of the
requestIdrecord component. - requestId() - Method in record class com.github.copilot.sdk.generated.PermissionCompletedEvent.PermissionCompletedEventData
-
Returns the value of the
requestIdrecord component. - requestId() - Method in record class com.github.copilot.sdk.generated.PermissionRequestedEvent.PermissionRequestedEventData
-
Returns the value of the
requestIdrecord component. - requestId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionCommandsHandlePendingCommandParams
-
Returns the value of the
requestIdrecord component. - requestId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPermissionsHandlePendingPermissionRequestParams
-
Returns the value of the
requestIdrecord component. - requestId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionToolsHandlePendingToolCallParams
-
Returns the value of the
requestIdrecord component. - requestId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiHandlePendingElicitationParams
-
Returns the value of the
requestIdrecord component. - requestId() - Method in record class com.github.copilot.sdk.generated.SamplingCompletedEvent.SamplingCompletedEventData
-
Returns the value of the
requestIdrecord component. - requestId() - Method in record class com.github.copilot.sdk.generated.SamplingRequestedEvent.SamplingRequestedEventData
-
Returns the value of the
requestIdrecord component. - requestId() - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData
-
Returns the value of the
requestIdrecord component. - requestId() - Method in record class com.github.copilot.sdk.generated.UserInputCompletedEvent.UserInputCompletedEventData
-
Returns the value of the
requestIdrecord component. - requestId() - Method in record class com.github.copilot.sdk.generated.UserInputRequestedEvent.UserInputRequestedEventData
-
Returns the value of the
requestIdrecord component. - requests() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.SessionUsageGetMetricsResultModelMetricsValue
-
Returns the value of the
requestsrecord component. - requests() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataModelMetricsValue
-
Returns the value of the
requestsrecord component. - required() - Method in record class com.github.copilot.sdk.generated.ElicitationRequestedEvent.ElicitationRequestedEventData.ElicitationRequestedEventDataRequestedSchema
-
Returns the value of the
requiredrecord component. - required() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiElicitationParams.SessionUiElicitationParamsRequestedSchema
-
Returns the value of the
requiredrecord component. - resetDate() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataQuotaSnapshotsValue
-
Returns the value of the
resetDaterecord component. - resetDate() - Method in record class com.github.copilot.sdk.generated.rpc.AccountGetQuotaResult.AccountGetQuotaResultQuotaSnapshotsValue
-
Returns the value of the
resetDaterecord component. - resolvedByHook() - Method in record class com.github.copilot.sdk.generated.PermissionRequestedEvent.PermissionRequestedEventData
-
Returns the value of the
resolvedByHookrecord component. - result() - Method in record class com.github.copilot.sdk.generated.PermissionCompletedEvent.PermissionCompletedEventData
-
Returns the value of the
resultrecord component. - result() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPermissionsHandlePendingPermissionRequestParams
-
Returns the value of the
resultrecord component. - result() - Method in record class com.github.copilot.sdk.generated.rpc.SessionToolsHandlePendingToolCallParams
-
Returns the value of the
resultrecord component. - result() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiHandlePendingElicitationParams
-
Returns the value of the
resultrecord component. - result() - Method in record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData
-
Returns the value of the
resultrecord component. - resultType() - Method in record class com.github.copilot.sdk.json.ToolResultObject
-
Returns the value of the
resultTyperecord 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
ResumeSessionResponserecord class. - resumeTime() - Method in record class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData
-
Returns the value of the
resumeTimerecord component. - role() - Method in record class com.github.copilot.sdk.generated.SystemMessageEvent.SystemMessageEventData
-
Returns the value of the
rolerecord component. - ROUTINE - Enum constant in enum class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataShutdownType
-
The
routinevariant. - 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
runningvariant. - RUNNING - Enum constant in enum class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData.SessionExtensionsLoadedEventDataExtensionsItem.SessionExtensionsLoadedEventDataExtensionsItemStatus
-
The
runningvariant.
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.completedsession 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
SamplingCompletedEventDatarecord class. - SamplingRequestedEvent - Class in com.github.copilot.sdk.generated
-
The
sampling.requestedsession 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
SamplingRequestedEventDatarecord 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#CUSTOMIZEmode. - 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#CUSTOMIZEmode. - 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
selectedActionrecord component. - selectedModel() - Method in record class com.github.copilot.sdk.generated.SessionResumeEvent.SessionResumeEventData
-
Returns the value of the
selectedModelrecord component. - selectedModel() - Method in record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData
-
Returns the value of the
selectedModelrecord 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
SendMessageResponserecord class. - ServerAccountApi - Class in com.github.copilot.sdk.generated.rpc
-
API methods for the
accountnamespace. - ServerMcpApi - Class in com.github.copilot.sdk.generated.rpc
-
API methods for the
mcpnamespace. - ServerMcpConfigApi - Class in com.github.copilot.sdk.generated.rpc
-
API methods for the
mcp.confignamespace. - ServerModelsApi - Class in com.github.copilot.sdk.generated.rpc
-
API methods for the
modelsnamespace. - serverName() - Method in record class com.github.copilot.sdk.generated.McpOauthRequiredEvent.McpOauthRequiredEventData
-
Returns the value of the
serverNamerecord component. - serverName() - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpDisableParams
-
Returns the value of the
serverNamerecord component. - serverName() - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpEnableParams
-
Returns the value of the
serverNamerecord component. - serverName() - Method in record class com.github.copilot.sdk.generated.SamplingRequestedEvent.SamplingRequestedEventData
-
Returns the value of the
serverNamerecord component. - serverName() - Method in record class com.github.copilot.sdk.generated.SessionMcpServerStatusChangedEvent.SessionMcpServerStatusChangedEventData
-
Returns the value of the
serverNamerecord 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
serversrecord component. - servers() - Method in record class com.github.copilot.sdk.generated.rpc.McpDiscoverResult
-
Returns the value of the
serversrecord component. - servers() - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpListResult
-
Returns the value of the
serversrecord component. - servers() - Method in record class com.github.copilot.sdk.generated.SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData
-
Returns the value of the
serversrecord component. - ServerSessionFsApi - Class in com.github.copilot.sdk.generated.rpc
-
API methods for the
sessionFsnamespace. - ServerSessionsApi - Class in com.github.copilot.sdk.generated.rpc
-
API methods for the
sessionsnamespace. - ServerToolsApi - Class in com.github.copilot.sdk.generated.rpc
-
API methods for the
toolsnamespace. - serverUrl() - Method in record class com.github.copilot.sdk.generated.McpOauthRequiredEvent.McpOauthRequiredEventData
-
Returns the value of the
serverUrlrecord component. - session() - Method in record class com.github.copilot.sdk.json.GetSessionMetadataResponse
-
Returns the value of the
sessionrecord component. - SessionAgentApi - Class in com.github.copilot.sdk.generated.rpc
-
API methods for the
agentnamespace. - SessionAgentDeselectParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
session.agent.deselectRPC method. - SessionAgentDeselectParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionAgentDeselectParams
-
Creates an instance of a
SessionAgentDeselectParamsrecord class. - SessionAgentDeselectResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
session.agent.deselectRPC method. - SessionAgentDeselectResult() - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionAgentDeselectResult
-
Creates an instance of a
SessionAgentDeselectResultrecord class. - SessionAgentGetCurrentParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
session.agent.getCurrentRPC method. - SessionAgentGetCurrentParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionAgentGetCurrentParams
-
Creates an instance of a
SessionAgentGetCurrentParamsrecord class. - SessionAgentGetCurrentResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
session.agent.getCurrentRPC method. - SessionAgentGetCurrentResult(SessionAgentGetCurrentResult.SessionAgentGetCurrentResultAgent) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionAgentGetCurrentResult
-
Creates an instance of a
SessionAgentGetCurrentResultrecord 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
SessionAgentGetCurrentResultAgentrecord class. - SessionAgentListParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
session.agent.listRPC method. - SessionAgentListParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionAgentListParams
-
Creates an instance of a
SessionAgentListParamsrecord class. - SessionAgentListResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
session.agent.listRPC method. - SessionAgentListResult(List<SessionAgentListResult.SessionAgentListResultAgentsItem>) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionAgentListResult
-
Creates an instance of a
SessionAgentListResultrecord 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
SessionAgentListResultAgentsItemrecord class. - SessionAgentReloadParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
session.agent.reloadRPC method. - SessionAgentReloadParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionAgentReloadParams
-
Creates an instance of a
SessionAgentReloadParamsrecord class. - SessionAgentReloadResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
session.agent.reloadRPC method. - SessionAgentReloadResult(List<SessionAgentReloadResult.SessionAgentReloadResultAgentsItem>) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionAgentReloadResult
-
Creates an instance of a
SessionAgentReloadResultrecord 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
SessionAgentReloadResultAgentsItemrecord class. - SessionAgentSelectParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
session.agent.selectRPC method. - SessionAgentSelectParams(String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionAgentSelectParams
-
Creates an instance of a
SessionAgentSelectParamsrecord class. - SessionAgentSelectResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
session.agent.selectRPC method. - SessionAgentSelectResult(SessionAgentSelectResult.SessionAgentSelectResultAgent) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionAgentSelectResult
-
Creates an instance of a
SessionAgentSelectResultrecord 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
SessionAgentSelectResultAgentrecord class. - SessionBackgroundTasksChangedEvent - Class in com.github.copilot.sdk.generated
-
The
session.background_tasks_changedsession event. - SessionBackgroundTasksChangedEvent() - Constructor for class com.github.copilot.sdk.generated.SessionBackgroundTasksChangedEvent
- SessionBackgroundTasksChangedEvent.SessionBackgroundTasksChangedEventData - Record Class in com.github.copilot.sdk.generated
-
Data payload for
SessionBackgroundTasksChangedEvent. - SessionBackgroundTasksChangedEventData() - Constructor for record class com.github.copilot.sdk.generated.SessionBackgroundTasksChangedEvent.SessionBackgroundTasksChangedEventData
-
Creates an instance of a
SessionBackgroundTasksChangedEventDatarecord 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
commandsnamespace. - SessionCommandsHandlePendingCommandParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
session.commands.handlePendingCommandRPC method. - SessionCommandsHandlePendingCommandParams(String, String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionCommandsHandlePendingCommandParams
-
Creates an instance of a
SessionCommandsHandlePendingCommandParamsrecord class. - SessionCommandsHandlePendingCommandResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
session.commands.handlePendingCommandRPC method. - SessionCommandsHandlePendingCommandResult(Boolean) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionCommandsHandlePendingCommandResult
-
Creates an instance of a
SessionCommandsHandlePendingCommandResultrecord class. - SessionCompactionCompleteEvent - Class in com.github.copilot.sdk.generated
-
The
session.compaction_completesession event. - SessionCompactionCompleteEvent() - Constructor for class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent
- SessionCompactionCompleteEvent.SessionCompactionCompleteEventData - Record Class in com.github.copilot.sdk.generated
-
Data payload for
SessionCompactionCompleteEvent. - 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
SessionCompactionCompleteEventDatarecord class. - SessionCompactionCompleteEventDataCompactionTokensUsed(Double, Double, Double) - Constructor for record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData.SessionCompactionCompleteEventDataCompactionTokensUsed
-
Creates an instance of a
SessionCompactionCompleteEventDataCompactionTokensUsedrecord class. - SessionCompactionStartEvent - Class in com.github.copilot.sdk.generated
-
The
session.compaction_startsession 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
SessionCompactionStartEventDatarecord 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_changedsession 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
SessionContextChangedEventDatarecord class. - SessionCustomAgentsUpdatedEvent - Class in com.github.copilot.sdk.generated
-
The
session.custom_agents_updatedsession event. - SessionCustomAgentsUpdatedEvent() - Constructor for class com.github.copilot.sdk.generated.SessionCustomAgentsUpdatedEvent
- SessionCustomAgentsUpdatedEvent.SessionCustomAgentsUpdatedEventData - Record Class in com.github.copilot.sdk.generated
-
Data payload for
SessionCustomAgentsUpdatedEvent. - 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
SessionCustomAgentsUpdatedEventDatarecord 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
SessionCustomAgentsUpdatedEventDataAgentsItemrecord 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
SessionEndHookInputrecord 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
SessionEndHookOutputrecord class. - SessionErrorEvent - Class in com.github.copilot.sdk.generated
-
The
session.errorsession 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
SessionErrorEventDatarecord 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
extensionsnamespace. - SessionExtensionsDisableParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
session.extensions.disableRPC method. - SessionExtensionsDisableParams(String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionExtensionsDisableParams
-
Creates an instance of a
SessionExtensionsDisableParamsrecord class. - SessionExtensionsDisableResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
session.extensions.disableRPC method. - SessionExtensionsDisableResult() - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionExtensionsDisableResult
-
Creates an instance of a
SessionExtensionsDisableResultrecord class. - SessionExtensionsEnableParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
session.extensions.enableRPC method. - SessionExtensionsEnableParams(String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionExtensionsEnableParams
-
Creates an instance of a
SessionExtensionsEnableParamsrecord class. - SessionExtensionsEnableResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
session.extensions.enableRPC method. - SessionExtensionsEnableResult() - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionExtensionsEnableResult
-
Creates an instance of a
SessionExtensionsEnableResultrecord class. - SessionExtensionsListParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
session.extensions.listRPC method. - SessionExtensionsListParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionExtensionsListParams
-
Creates an instance of a
SessionExtensionsListParamsrecord class. - SessionExtensionsListResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
session.extensions.listRPC method. - SessionExtensionsListResult(List<SessionExtensionsListResult.SessionExtensionsListResultExtensionsItem>) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult
-
Creates an instance of a
SessionExtensionsListResultrecord 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
SessionExtensionsListResultExtensionsItemrecord class. - SessionExtensionsLoadedEvent - Class in com.github.copilot.sdk.generated
-
The
session.extensions_loadedsession event. - SessionExtensionsLoadedEvent() - Constructor for class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent
- SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData - Record Class in com.github.copilot.sdk.generated
-
Data payload for
SessionExtensionsLoadedEvent. - 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
SessionExtensionsLoadedEventDatarecord 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
SessionExtensionsLoadedEventDataExtensionsItemrecord class. - SessionExtensionsReloadParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
session.extensions.reloadRPC method. - SessionExtensionsReloadParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionExtensionsReloadParams
-
Creates an instance of a
SessionExtensionsReloadParamsrecord class. - SessionExtensionsReloadResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
session.extensions.reloadRPC method. - SessionExtensionsReloadResult() - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionExtensionsReloadResult
-
Creates an instance of a
SessionExtensionsReloadResultrecord class. - SessionFleetApi - Class in com.github.copilot.sdk.generated.rpc
-
API methods for the
fleetnamespace. - SessionFleetStartParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
session.fleet.startRPC method. - SessionFleetStartParams(String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionFleetStartParams
-
Creates an instance of a
SessionFleetStartParamsrecord class. - SessionFleetStartResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
session.fleet.startRPC method. - SessionFleetStartResult(Boolean) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionFleetStartResult
-
Creates an instance of a
SessionFleetStartResultrecord class. - sessionFs - Variable in class com.github.copilot.sdk.generated.rpc.ServerRpc
-
API methods for the
sessionFsnamespace. - SessionFsAppendFileParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
sessionFs.appendFileRPC method. - SessionFsAppendFileParams(String, String, String, Double) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionFsAppendFileParams
-
Creates an instance of a
SessionFsAppendFileParamsrecord class. - SessionFsExistsParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
sessionFs.existsRPC method. - SessionFsExistsParams(String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionFsExistsParams
-
Creates an instance of a
SessionFsExistsParamsrecord class. - SessionFsExistsResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
sessionFs.existsRPC method. - SessionFsExistsResult(Boolean) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionFsExistsResult
-
Creates an instance of a
SessionFsExistsResultrecord class. - SessionFsMkdirParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
sessionFs.mkdirRPC method. - SessionFsMkdirParams(String, String, Boolean, Double) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionFsMkdirParams
-
Creates an instance of a
SessionFsMkdirParamsrecord class. - SessionFsReaddirParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
sessionFs.readdirRPC method. - SessionFsReaddirParams(String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionFsReaddirParams
-
Creates an instance of a
SessionFsReaddirParamsrecord class. - SessionFsReaddirResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
sessionFs.readdirRPC method. - SessionFsReaddirResult(List<String>) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionFsReaddirResult
-
Creates an instance of a
SessionFsReaddirResultrecord class. - SessionFsReaddirWithTypesParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
sessionFs.readdirWithTypesRPC method. - SessionFsReaddirWithTypesParams(String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionFsReaddirWithTypesParams
-
Creates an instance of a
SessionFsReaddirWithTypesParamsrecord class. - SessionFsReaddirWithTypesResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
sessionFs.readdirWithTypesRPC method. - SessionFsReaddirWithTypesResult(List<SessionFsReaddirWithTypesResult.SessionFsReaddirWithTypesResultEntriesItem>) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionFsReaddirWithTypesResult
-
Creates an instance of a
SessionFsReaddirWithTypesResultrecord 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
SessionFsReaddirWithTypesResultEntriesItemrecord class. - SessionFsReadFileParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
sessionFs.readFileRPC method. - SessionFsReadFileParams(String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionFsReadFileParams
-
Creates an instance of a
SessionFsReadFileParamsrecord class. - SessionFsReadFileResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
sessionFs.readFileRPC method. - SessionFsReadFileResult(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionFsReadFileResult
-
Creates an instance of a
SessionFsReadFileResultrecord class. - SessionFsRenameParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
sessionFs.renameRPC method. - SessionFsRenameParams(String, String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionFsRenameParams
-
Creates an instance of a
SessionFsRenameParamsrecord class. - SessionFsRmParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
sessionFs.rmRPC method. - SessionFsRmParams(String, String, Boolean, Boolean) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionFsRmParams
-
Creates an instance of a
SessionFsRmParamsrecord class. - SessionFsSetProviderParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
sessionFs.setProviderRPC method. - SessionFsSetProviderParams(String, String, SessionFsSetProviderParams.SessionFsSetProviderParamsConventions) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionFsSetProviderParams
-
Creates an instance of a
SessionFsSetProviderParamsrecord 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.setProviderRPC method. - SessionFsSetProviderResult(Boolean) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionFsSetProviderResult
-
Creates an instance of a
SessionFsSetProviderResultrecord class. - SessionFsStatParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
sessionFs.statRPC method. - SessionFsStatParams(String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionFsStatParams
-
Creates an instance of a
SessionFsStatParamsrecord class. - SessionFsStatResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
sessionFs.statRPC method. - SessionFsStatResult(Boolean, Boolean, Double, String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionFsStatResult
-
Creates an instance of a
SessionFsStatResultrecord class. - SessionFsWriteFileParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
sessionFs.writeFileRPC method. - SessionFsWriteFileParams(String, String, String, Double) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionFsWriteFileParams
-
Creates an instance of a
SessionFsWriteFileParamsrecord class. - SessionHandoffEvent - Class in com.github.copilot.sdk.generated
-
The
session.handoffsession 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
SessionHandoffEventDatarecord class. - SessionHandoffEventDataRepository(String, String, String) - Constructor for record class com.github.copilot.sdk.generated.SessionHandoffEvent.SessionHandoffEventData.SessionHandoffEventDataRepository
-
Creates an instance of a
SessionHandoffEventDataRepositoryrecord class. - SessionHistoryApi - Class in com.github.copilot.sdk.generated.rpc
-
API methods for the
historynamespace. - SessionHistoryCompactParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
session.history.compactRPC method. - SessionHistoryCompactParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionHistoryCompactParams
-
Creates an instance of a
SessionHistoryCompactParamsrecord class. - SessionHistoryCompactResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
session.history.compactRPC method. - SessionHistoryCompactResult(Boolean, Double, Double, SessionHistoryCompactResult.SessionHistoryCompactResultContextWindow) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionHistoryCompactResult
-
Creates an instance of a
SessionHistoryCompactResultrecord 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
SessionHistoryCompactResultContextWindowrecord class. - SessionHistoryTruncateParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
session.history.truncateRPC method. - SessionHistoryTruncateParams(String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionHistoryTruncateParams
-
Creates an instance of a
SessionHistoryTruncateParamsrecord class. - SessionHistoryTruncateResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
session.history.truncateRPC method. - SessionHistoryTruncateResult(Double) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionHistoryTruncateResult
-
Creates an instance of a
SessionHistoryTruncateResultrecord 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
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentDeselectParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentGetCurrentParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentListParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentReloadParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionAgentSelectParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionCommandsHandlePendingCommandParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsDisableParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsEnableParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsListParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsReloadParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFleetStartParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsAppendFileParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsExistsParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsMkdirParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReaddirParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReaddirWithTypesParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReadFileParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsRenameParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsRmParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsStatParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsWriteFileParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryCompactParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryTruncateParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionLogParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpDisableParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpEnableParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpListParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpReloadParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModeGetParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelGetCurrentParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModeSetParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPermissionsHandlePendingPermissionRequestParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPlanDeleteParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPlanReadParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPlanUpdateParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPluginsListParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionsForkParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionsForkResult
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionShellExecParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionShellKillParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsDisableParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsEnableParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsListParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsReloadParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionToolsHandlePendingToolCallParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiElicitationParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiHandlePendingElicitationParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceCreateFileParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceListFilesParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceReadFileParams
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.json.CreateSessionResponse
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.json.GetForegroundSessionResponse
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.json.GetLastSessionIdResponse
-
Returns the value of the
sessionIdrecord component. - sessionId() - Method in record class com.github.copilot.sdk.json.ResumeSessionResponse
-
Returns the value of the
sessionIdrecord component. - SessionIdleEvent - Class in com.github.copilot.sdk.generated
-
The
session.idlesession 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
SessionIdleEventDatarecord class. - SessionInfoEvent - Class in com.github.copilot.sdk.generated
-
The
session.infosession 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
SessionInfoEventDatarecord 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
SessionLifecycleEventMetadatarecord 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
sessionLogrecord component. - SessionLogParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
session.logRPC method. - SessionLogParams(String, String, SessionLogParams.SessionLogParamsLevel, Boolean, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionLogParams
-
Creates an instance of a
SessionLogParamsrecord 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.logRPC method. - SessionLogResult(UUID) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionLogResult
-
Creates an instance of a
SessionLogResultrecord class. - SessionMcpApi - Class in com.github.copilot.sdk.generated.rpc
-
API methods for the
mcpnamespace. - SessionMcpDisableParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
session.mcp.disableRPC method. - SessionMcpDisableParams(String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionMcpDisableParams
-
Creates an instance of a
SessionMcpDisableParamsrecord class. - SessionMcpDisableResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
session.mcp.disableRPC method. - SessionMcpDisableResult() - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionMcpDisableResult
-
Creates an instance of a
SessionMcpDisableResultrecord class. - SessionMcpEnableParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
session.mcp.enableRPC method. - SessionMcpEnableParams(String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionMcpEnableParams
-
Creates an instance of a
SessionMcpEnableParamsrecord class. - SessionMcpEnableResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
session.mcp.enableRPC method. - SessionMcpEnableResult() - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionMcpEnableResult
-
Creates an instance of a
SessionMcpEnableResultrecord class. - SessionMcpListParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
session.mcp.listRPC method. - SessionMcpListParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionMcpListParams
-
Creates an instance of a
SessionMcpListParamsrecord class. - SessionMcpListResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
session.mcp.listRPC method. - SessionMcpListResult(List<SessionMcpListResult.SessionMcpListResultServersItem>) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionMcpListResult
-
Creates an instance of a
SessionMcpListResultrecord 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
SessionMcpListResultServersItemrecord class. - SessionMcpReloadParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
session.mcp.reloadRPC method. - SessionMcpReloadParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionMcpReloadParams
-
Creates an instance of a
SessionMcpReloadParamsrecord class. - SessionMcpReloadResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
session.mcp.reloadRPC method. - SessionMcpReloadResult() - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionMcpReloadResult
-
Creates an instance of a
SessionMcpReloadResultrecord class. - SessionMcpServersLoadedEvent - Class in com.github.copilot.sdk.generated
-
The
session.mcp_servers_loadedsession event. - SessionMcpServersLoadedEvent() - Constructor for class com.github.copilot.sdk.generated.SessionMcpServersLoadedEvent
- SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData - Record Class in com.github.copilot.sdk.generated
-
Data payload for
SessionMcpServersLoadedEvent. - 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
SessionMcpServersLoadedEventDatarecord 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
SessionMcpServersLoadedEventDataServersItemrecord class. - SessionMcpServerStatusChangedEvent - Class in com.github.copilot.sdk.generated
-
The
session.mcp_server_status_changedsession event. - SessionMcpServerStatusChangedEvent() - Constructor for class com.github.copilot.sdk.generated.SessionMcpServerStatusChangedEvent
- SessionMcpServerStatusChangedEvent.SessionMcpServerStatusChangedEventData - Record Class in com.github.copilot.sdk.generated
-
Data payload for
SessionMcpServerStatusChangedEvent. - 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
SessionMcpServerStatusChangedEventDatarecord 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
modenamespace. - SessionModeChangedEvent - Class in com.github.copilot.sdk.generated
-
The
session.mode_changedsession 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
SessionModeChangedEventDatarecord class. - SessionModeGetParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
session.mode.getRPC method. - SessionModeGetParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionModeGetParams
-
Creates an instance of a
SessionModeGetParamsrecord class. - SessionModeGetResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
session.mode.getRPC method. - SessionModeGetResult(SessionModeGetResult.SessionModeGetResultMode) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionModeGetResult
-
Creates an instance of a
SessionModeGetResultrecord 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
modelnamespace. - SessionModelChangeEvent - Class in com.github.copilot.sdk.generated
-
The
session.model_changesession 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
SessionModelChangeEventDatarecord class. - SessionModelGetCurrentParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
session.model.getCurrentRPC method. - SessionModelGetCurrentParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionModelGetCurrentParams
-
Creates an instance of a
SessionModelGetCurrentParamsrecord class. - SessionModelGetCurrentResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
session.model.getCurrentRPC method. - SessionModelGetCurrentResult(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionModelGetCurrentResult
-
Creates an instance of a
SessionModelGetCurrentResultrecord class. - SessionModelSwitchToParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
session.model.switchToRPC method. - SessionModelSwitchToParams(String, String, String, SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams
-
Creates an instance of a
SessionModelSwitchToParamsrecord 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
SessionModelSwitchToParamsModelCapabilitiesrecord 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
SessionModelSwitchToParamsModelCapabilitiesLimitsrecord 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
SessionModelSwitchToParamsModelCapabilitiesLimitsVisionrecord class. - SessionModelSwitchToParamsModelCapabilitiesSupports(Boolean, Boolean) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities.SessionModelSwitchToParamsModelCapabilitiesSupports
-
Creates an instance of a
SessionModelSwitchToParamsModelCapabilitiesSupportsrecord class. - SessionModelSwitchToResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
session.model.switchToRPC method. - SessionModelSwitchToResult(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToResult
-
Creates an instance of a
SessionModelSwitchToResultrecord class. - SessionModeSetParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
session.mode.setRPC method. - SessionModeSetParams(String, SessionModeSetParams.SessionModeSetParamsMode) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionModeSetParams
-
Creates an instance of a
SessionModeSetParamsrecord 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.setRPC method. - SessionModeSetResult(SessionModeSetResult.SessionModeSetResultMode) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionModeSetResult
-
Creates an instance of a
SessionModeSetResultrecord 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
permissionsnamespace. - SessionPermissionsHandlePendingPermissionRequestParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
session.permissions.handlePendingPermissionRequestRPC method. - SessionPermissionsHandlePendingPermissionRequestParams(String, String, Object) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionPermissionsHandlePendingPermissionRequestParams
-
Creates an instance of a
SessionPermissionsHandlePendingPermissionRequestParamsrecord class. - SessionPermissionsHandlePendingPermissionRequestResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
session.permissions.handlePendingPermissionRequestRPC method. - SessionPermissionsHandlePendingPermissionRequestResult(Boolean) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionPermissionsHandlePendingPermissionRequestResult
-
Creates an instance of a
SessionPermissionsHandlePendingPermissionRequestResultrecord class. - SessionPlanApi - Class in com.github.copilot.sdk.generated.rpc
-
API methods for the
plannamespace. - SessionPlanChangedEvent - Class in com.github.copilot.sdk.generated
-
The
session.plan_changedsession 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
SessionPlanChangedEventDatarecord class. - SessionPlanDeleteParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
session.plan.deleteRPC method. - SessionPlanDeleteParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionPlanDeleteParams
-
Creates an instance of a
SessionPlanDeleteParamsrecord class. - SessionPlanDeleteResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
session.plan.deleteRPC method. - SessionPlanDeleteResult() - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionPlanDeleteResult
-
Creates an instance of a
SessionPlanDeleteResultrecord class. - SessionPlanReadParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
session.plan.readRPC method. - SessionPlanReadParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionPlanReadParams
-
Creates an instance of a
SessionPlanReadParamsrecord class. - SessionPlanReadResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
session.plan.readRPC method. - SessionPlanReadResult(Boolean, String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionPlanReadResult
-
Creates an instance of a
SessionPlanReadResultrecord class. - SessionPlanUpdateParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
session.plan.updateRPC method. - SessionPlanUpdateParams(String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionPlanUpdateParams
-
Creates an instance of a
SessionPlanUpdateParamsrecord class. - SessionPlanUpdateResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
session.plan.updateRPC method. - SessionPlanUpdateResult() - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionPlanUpdateResult
-
Creates an instance of a
SessionPlanUpdateResultrecord class. - SessionPluginsApi - Class in com.github.copilot.sdk.generated.rpc
-
API methods for the
pluginsnamespace. - SessionPluginsListParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
session.plugins.listRPC method. - SessionPluginsListParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionPluginsListParams
-
Creates an instance of a
SessionPluginsListParamsrecord class. - SessionPluginsListResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
session.plugins.listRPC method. - SessionPluginsListResult(List<SessionPluginsListResult.SessionPluginsListResultPluginsItem>) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionPluginsListResult
-
Creates an instance of a
SessionPluginsListResultrecord 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
SessionPluginsListResultPluginsItemrecord class. - SessionRemoteSteerableChangedEvent - Class in com.github.copilot.sdk.generated
-
The
session.remote_steerable_changedsession event. - SessionRemoteSteerableChangedEvent() - Constructor for class com.github.copilot.sdk.generated.SessionRemoteSteerableChangedEvent
- SessionRemoteSteerableChangedEvent.SessionRemoteSteerableChangedEventData - Record Class in com.github.copilot.sdk.generated
-
Data payload for
SessionRemoteSteerableChangedEvent. - SessionRemoteSteerableChangedEventData(Boolean) - Constructor for record class com.github.copilot.sdk.generated.SessionRemoteSteerableChangedEvent.SessionRemoteSteerableChangedEventData
-
Creates an instance of a
SessionRemoteSteerableChangedEventDatarecord class. - SessionResumeEvent - Class in com.github.copilot.sdk.generated
-
The
session.resumesession 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
SessionResumeEventDatarecord 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
SessionResumeEventDataContextrecord 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
sessionsnamespace. - sessions() - Method in record class com.github.copilot.sdk.json.ListSessionsResponse
-
Returns the value of the
sessionsrecord component. - SessionsForkParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
sessions.forkRPC method. - SessionsForkParams(String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionsForkParams
-
Creates an instance of a
SessionsForkParamsrecord class. - SessionsForkResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
sessions.forkRPC method. - SessionsForkResult(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionsForkResult
-
Creates an instance of a
SessionsForkResultrecord class. - SessionShellApi - Class in com.github.copilot.sdk.generated.rpc
-
API methods for the
shellnamespace. - SessionShellExecParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
session.shell.execRPC method. - SessionShellExecParams(String, String, String, Double) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionShellExecParams
-
Creates an instance of a
SessionShellExecParamsrecord class. - SessionShellExecResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
session.shell.execRPC method. - SessionShellExecResult(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionShellExecResult
-
Creates an instance of a
SessionShellExecResultrecord class. - SessionShellKillParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
session.shell.killRPC method. - SessionShellKillParams(String, String, SessionShellKillParams.SessionShellKillParamsSignal) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionShellKillParams
-
Creates an instance of a
SessionShellKillParamsrecord 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.killRPC method. - SessionShellKillResult(Boolean) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionShellKillResult
-
Creates an instance of a
SessionShellKillResultrecord class. - SessionShutdownEvent - Class in com.github.copilot.sdk.generated
-
The
session.shutdownsession 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
SessionShutdownEventDatarecord class. - SessionShutdownEventDataCodeChanges(Double, Double, List<String>) - Constructor for record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataCodeChanges
-
Creates an instance of a
SessionShutdownEventDataCodeChangesrecord 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
SessionShutdownEventDataModelMetricsValuerecord class. - SessionShutdownEventDataModelMetricsValueRequests(Double, Double) - Constructor for record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataModelMetricsValue.SessionShutdownEventDataModelMetricsValueRequests
-
Creates an instance of a
SessionShutdownEventDataModelMetricsValueRequestsrecord 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
SessionShutdownEventDataModelMetricsValueUsagerecord class. - SessionSkillsApi - Class in com.github.copilot.sdk.generated.rpc
-
API methods for the
skillsnamespace. - SessionSkillsDisableParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
session.skills.disableRPC method. - SessionSkillsDisableParams(String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionSkillsDisableParams
-
Creates an instance of a
SessionSkillsDisableParamsrecord class. - SessionSkillsDisableResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
session.skills.disableRPC method. - SessionSkillsDisableResult() - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionSkillsDisableResult
-
Creates an instance of a
SessionSkillsDisableResultrecord class. - SessionSkillsEnableParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
session.skills.enableRPC method. - SessionSkillsEnableParams(String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionSkillsEnableParams
-
Creates an instance of a
SessionSkillsEnableParamsrecord class. - SessionSkillsEnableResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
session.skills.enableRPC method. - SessionSkillsEnableResult() - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionSkillsEnableResult
-
Creates an instance of a
SessionSkillsEnableResultrecord class. - SessionSkillsListParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
session.skills.listRPC method. - SessionSkillsListParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionSkillsListParams
-
Creates an instance of a
SessionSkillsListParamsrecord class. - SessionSkillsListResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
session.skills.listRPC method. - SessionSkillsListResult(List<SessionSkillsListResult.SessionSkillsListResultSkillsItem>) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionSkillsListResult
-
Creates an instance of a
SessionSkillsListResultrecord 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
SessionSkillsListResultSkillsItemrecord class. - SessionSkillsLoadedEvent - Class in com.github.copilot.sdk.generated
-
The
session.skills_loadedsession 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
SessionSkillsLoadedEventDatarecord 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
SessionSkillsLoadedEventDataSkillsItemrecord class. - SessionSkillsReloadParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
session.skills.reloadRPC method. - SessionSkillsReloadParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionSkillsReloadParams
-
Creates an instance of a
SessionSkillsReloadParamsrecord class. - SessionSkillsReloadResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
session.skills.reloadRPC method. - SessionSkillsReloadResult() - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionSkillsReloadResult
-
Creates an instance of a
SessionSkillsReloadResultrecord class. - SessionSnapshotRewindEvent - Class in com.github.copilot.sdk.generated
-
The
session.snapshot_rewindsession 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
SessionSnapshotRewindEventDatarecord class. - SessionStartEvent - Class in com.github.copilot.sdk.generated
-
The
session.startsession 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
SessionStartEventDatarecord 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
SessionStartEventDataContextrecord 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
SessionStartHookInputrecord 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
SessionStartHookOutputrecord class. - sessionStartTime() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult
-
Returns the value of the
sessionStartTimerecord component. - sessionStartTime() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData
-
Returns the value of the
sessionStartTimerecord component. - sessionStatePath() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsSetProviderParams
-
Returns the value of the
sessionStatePathrecord component. - sessionSummary() - Method in record class com.github.copilot.sdk.json.SessionEndHookOutput
-
Returns the value of the
sessionSummaryrecord component. - SessionTaskCompleteEvent - Class in com.github.copilot.sdk.generated
-
The
session.task_completesession 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
SessionTaskCompleteEventDatarecord class. - SessionTitleChangedEvent - Class in com.github.copilot.sdk.generated
-
The
session.title_changedsession 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
SessionTitleChangedEventDatarecord class. - SessionToolsApi - Class in com.github.copilot.sdk.generated.rpc
-
API methods for the
toolsnamespace. - SessionToolsHandlePendingToolCallParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
session.tools.handlePendingToolCallRPC method. - SessionToolsHandlePendingToolCallParams(String, String, Object, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionToolsHandlePendingToolCallParams
-
Creates an instance of a
SessionToolsHandlePendingToolCallParamsrecord class. - SessionToolsHandlePendingToolCallResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
session.tools.handlePendingToolCallRPC method. - SessionToolsHandlePendingToolCallResult(Boolean) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionToolsHandlePendingToolCallResult
-
Creates an instance of a
SessionToolsHandlePendingToolCallResultrecord class. - SessionToolsUpdatedEvent - Class in com.github.copilot.sdk.generated
-
The
session.tools_updatedsession 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
SessionToolsUpdatedEventDatarecord class. - SessionTruncationEvent - Class in com.github.copilot.sdk.generated
-
The
session.truncationsession 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
SessionTruncationEventDatarecord class. - SessionUiApi - Class in com.github.copilot.sdk.generated.rpc
-
API methods for the
uinamespace. - 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.elicitationRPC method. - SessionUiElicitationParams(String, String, SessionUiElicitationParams.SessionUiElicitationParamsRequestedSchema) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionUiElicitationParams
-
Creates an instance of a
SessionUiElicitationParamsrecord 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
SessionUiElicitationParamsRequestedSchemarecord class. - SessionUiElicitationResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
session.ui.elicitationRPC method. - SessionUiElicitationResult(SessionUiElicitationResult.SessionUiElicitationResultAction, Map<String, Object>) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionUiElicitationResult
-
Creates an instance of a
SessionUiElicitationResultrecord 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.handlePendingElicitationRPC method. - SessionUiHandlePendingElicitationParams(String, String, SessionUiHandlePendingElicitationParams.SessionUiHandlePendingElicitationParamsResult) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionUiHandlePendingElicitationParams
-
Creates an instance of a
SessionUiHandlePendingElicitationParamsrecord 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
SessionUiHandlePendingElicitationParamsResultrecord class. - SessionUiHandlePendingElicitationResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
session.ui.handlePendingElicitationRPC method. - SessionUiHandlePendingElicitationResult(Boolean) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionUiHandlePendingElicitationResult
-
Creates an instance of a
SessionUiHandlePendingElicitationResultrecord class. - SessionUsageApi - Class in com.github.copilot.sdk.generated.rpc
-
API methods for the
usagenamespace. - SessionUsageGetMetricsParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
session.usage.getMetricsRPC method. - SessionUsageGetMetricsParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsParams
-
Creates an instance of a
SessionUsageGetMetricsParamsrecord class. - SessionUsageGetMetricsResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
session.usage.getMetricsRPC 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
SessionUsageGetMetricsResultrecord 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
SessionUsageGetMetricsResultCodeChangesrecord 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
SessionUsageGetMetricsResultModelMetricsValuerecord class. - SessionUsageGetMetricsResultModelMetricsValueRequests(Long, Double) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.SessionUsageGetMetricsResultModelMetricsValue.SessionUsageGetMetricsResultModelMetricsValueRequests
-
Creates an instance of a
SessionUsageGetMetricsResultModelMetricsValueRequestsrecord 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
SessionUsageGetMetricsResultModelMetricsValueUsagerecord class. - SessionUsageInfoEvent - Class in com.github.copilot.sdk.generated
-
The
session.usage_infosession 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
SessionUsageInfoEventDatarecord class. - SessionWarningEvent - Class in com.github.copilot.sdk.generated
-
The
session.warningsession 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
SessionWarningEventDatarecord class. - SessionWorkspaceApi - Class in com.github.copilot.sdk.generated.rpc
-
API methods for the
workspacenamespace. - SessionWorkspaceCreateFileParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
session.workspace.createFileRPC method. - SessionWorkspaceCreateFileParams(String, String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceCreateFileParams
-
Creates an instance of a
SessionWorkspaceCreateFileParamsrecord class. - SessionWorkspaceCreateFileResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
session.workspace.createFileRPC method. - SessionWorkspaceCreateFileResult() - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceCreateFileResult
-
Creates an instance of a
SessionWorkspaceCreateFileResultrecord class. - SessionWorkspaceFileChangedEvent - Class in com.github.copilot.sdk.generated
-
The
session.workspace_file_changedsession event. - SessionWorkspaceFileChangedEvent() - Constructor for class com.github.copilot.sdk.generated.SessionWorkspaceFileChangedEvent
- SessionWorkspaceFileChangedEvent.SessionWorkspaceFileChangedEventData - Record Class in com.github.copilot.sdk.generated
-
Data payload for
SessionWorkspaceFileChangedEvent. - 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
SessionWorkspaceFileChangedEventDatarecord class. - SessionWorkspaceListFilesParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
session.workspace.listFilesRPC method. - SessionWorkspaceListFilesParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceListFilesParams
-
Creates an instance of a
SessionWorkspaceListFilesParamsrecord class. - SessionWorkspaceListFilesResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
session.workspace.listFilesRPC method. - SessionWorkspaceListFilesResult(List<String>) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceListFilesResult
-
Creates an instance of a
SessionWorkspaceListFilesResultrecord class. - SessionWorkspaceReadFileParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
session.workspace.readFileRPC method. - SessionWorkspaceReadFileParams(String, String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceReadFileParams
-
Creates an instance of a
SessionWorkspaceReadFileParamsrecord class. - SessionWorkspaceReadFileResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
session.workspace.readFileRPC method. - SessionWorkspaceReadFileResult(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.SessionWorkspaceReadFileResult
-
Creates an instance of a
SessionWorkspaceReadFileResultrecord 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
SetForegroundSessionResponserecord 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
-
Deprecated.Use
CopilotClientOptions.setGitHubToken(String)instead. - 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
PermissionRequestResultKindvalue. - 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.resumeRPC 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.createRPC 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.CUSTOMIZEmode. - 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
shellnamespace. - SHELL - Enum constant in enum class com.github.copilot.sdk.generated.UserMessageEvent.UserMessageEventData.UserMessageEventDataAgentMode
-
The
shellvariant. - shutdownType() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData
-
Returns the value of the
shutdownTyperecord component. - SIGINT - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionShellKillParams.SessionShellKillParamsSignal
-
The
SIGINTvariant. - SIGKILL - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionShellKillParams.SessionShellKillParamsSignal
-
The
SIGKILLvariant. - signal() - Method in record class com.github.copilot.sdk.generated.rpc.SessionShellKillParams
-
Returns the value of the
signalrecord component. - SIGTERM - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionShellKillParams.SessionShellKillParamsSignal
-
The
SIGTERMvariant. - size() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsStatResult
-
Returns the value of the
sizerecord component. - SkillInvokedEvent - Class in com.github.copilot.sdk.generated
-
The
skill.invokedsession 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
SkillInvokedEventDatarecord class. - skills - Variable in class com.github.copilot.sdk.generated.rpc.SessionRpc
-
API methods for the
skillsnamespace. - skills() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsListResult
-
Returns the value of the
skillsrecord component. - skills() - Method in record class com.github.copilot.sdk.generated.SessionSkillsLoadedEvent.SessionSkillsLoadedEventData
-
Returns the value of the
skillsrecord component. - skipPermission() - Method in record class com.github.copilot.sdk.json.ToolDefinition
-
Returns the value of the
skipPermissionrecord component. - source() - Method in record class com.github.copilot.sdk.generated.rpc.McpDiscoverResult.McpDiscoverResultServersItem
-
Returns the value of the
sourcerecord component. - source() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult.SessionExtensionsListResultExtensionsItem
-
Returns the value of the
sourcerecord component. - source() - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpListResult.SessionMcpListResultServersItem
-
Returns the value of the
sourcerecord component. - source() - Method in record class com.github.copilot.sdk.generated.rpc.SessionSkillsListResult.SessionSkillsListResultSkillsItem
-
Returns the value of the
sourcerecord component. - source() - Method in record class com.github.copilot.sdk.generated.SessionCustomAgentsUpdatedEvent.SessionCustomAgentsUpdatedEventData.SessionCustomAgentsUpdatedEventDataAgentsItem
-
Returns the value of the
sourcerecord component. - source() - Method in record class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData.SessionExtensionsLoadedEventDataExtensionsItem
-
Returns the value of the
sourcerecord component. - source() - Method in record class com.github.copilot.sdk.generated.SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData.SessionMcpServersLoadedEventDataServersItem
-
Returns the value of the
sourcerecord component. - source() - Method in record class com.github.copilot.sdk.generated.SessionSkillsLoadedEvent.SessionSkillsLoadedEventData.SessionSkillsLoadedEventDataSkillsItem
-
Returns the value of the
sourcerecord component. - source() - Method in record class com.github.copilot.sdk.generated.UserMessageEvent.UserMessageEventData
-
Returns the value of the
sourcerecord component. - source() - Method in record class com.github.copilot.sdk.json.SessionStartHookInput
-
Returns the value of the
sourcerecord component. - sourceType() - Method in record class com.github.copilot.sdk.generated.SessionHandoffEvent.SessionHandoffEventData
-
Returns the value of the
sourceTyperecord component. - src() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsRenameParams
-
Returns the value of the
srcrecord component. - stack() - Method in record class com.github.copilot.sdk.generated.HookEndEvent.HookEndEventData.HookEndEventDataError
-
Returns the value of the
stackrecord component. - stack() - Method in record class com.github.copilot.sdk.generated.SessionErrorEvent.SessionErrorEventData
-
Returns the value of the
stackrecord 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
startedrecord component. - STARTING - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult.SessionExtensionsListResultExtensionsItem.SessionExtensionsListResultExtensionsItemStatus
-
The
startingvariant. - STARTING - Enum constant in enum class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData.SessionExtensionsLoadedEventDataExtensionsItem.SessionExtensionsLoadedEventDataExtensionsItemStatus
-
The
startingvariant. - startTime() - Method in record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData
-
Returns the value of the
startTimerecord component. - startTime() - Method in record class com.github.copilot.sdk.json.SessionLifecycleEventMetadata
-
Returns the value of the
startTimerecord component. - state() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemPolicy
-
Returns the value of the
staterecord component. - staticClientConfig() - Method in record class com.github.copilot.sdk.generated.McpOauthRequiredEvent.McpOauthRequiredEventData
-
Returns the value of the
staticClientConfigrecord component. - status() - Method in record class com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult.SessionExtensionsListResultExtensionsItem
-
Returns the value of the
statusrecord component. - status() - Method in record class com.github.copilot.sdk.generated.rpc.SessionMcpListResult.SessionMcpListResultServersItem
-
Returns the value of the
statusrecord component. - status() - Method in record class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData.SessionExtensionsLoadedEventDataExtensionsItem
-
Returns the value of the
statusrecord component. - status() - Method in record class com.github.copilot.sdk.generated.SessionMcpServersLoadedEvent.SessionMcpServersLoadedEventData.SessionMcpServersLoadedEventDataServersItem
-
Returns the value of the
statusrecord component. - status() - Method in record class com.github.copilot.sdk.generated.SessionMcpServerStatusChangedEvent.SessionMcpServerStatusChangedEventData
-
Returns the value of the
statusrecord component. - statusCode() - Method in record class com.github.copilot.sdk.generated.SessionErrorEvent.SessionErrorEventData
-
Returns the value of the
statusCoderecord 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.completedsession 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
SubagentCompletedEventDatarecord class. - SubagentDeselectedEvent - Class in com.github.copilot.sdk.generated
-
The
subagent.deselectedsession 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
SubagentDeselectedEventDatarecord class. - SubagentFailedEvent - Class in com.github.copilot.sdk.generated
-
The
subagent.failedsession 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
SubagentFailedEventDatarecord class. - SubagentSelectedEvent - Class in com.github.copilot.sdk.generated
-
The
subagent.selectedsession 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
SubagentSelectedEventDatarecord class. - SubagentStartedEvent - Class in com.github.copilot.sdk.generated
-
The
subagent.startedsession 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
SubagentStartedEventDatarecord class. - success() - Method in record class com.github.copilot.sdk.generated.HookEndEvent.HookEndEventData
-
Returns the value of the
successrecord component. - success() - Method in record class com.github.copilot.sdk.generated.rpc.SessionCommandsHandlePendingCommandResult
-
Returns the value of the
successrecord component. - success() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsSetProviderResult
-
Returns the value of the
successrecord component. - success() - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryCompactResult
-
Returns the value of the
successrecord component. - success() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPermissionsHandlePendingPermissionRequestResult
-
Returns the value of the
successrecord component. - success() - Method in record class com.github.copilot.sdk.generated.rpc.SessionToolsHandlePendingToolCallResult
-
Returns the value of the
successrecord component. - success() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiHandlePendingElicitationResult
-
Returns the value of the
successrecord component. - success() - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData
-
Returns the value of the
successrecord component. - success() - Method in record class com.github.copilot.sdk.generated.SessionTaskCompleteEvent.SessionTaskCompleteEventData
-
Returns the value of the
successrecord component. - success() - Method in record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData
-
Returns the value of the
successrecord component. - success() - Method in record class com.github.copilot.sdk.json.DeleteSessionResponse
-
Returns the value of the
successrecord component. - success() - Method in record class com.github.copilot.sdk.json.SetForegroundSessionResponse
-
Returns the value of the
successrecord 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
summaryrecord component. - summary() - Method in record class com.github.copilot.sdk.generated.SessionHandoffEvent.SessionHandoffEventData
-
Returns the value of the
summaryrecord component. - summary() - Method in record class com.github.copilot.sdk.generated.SessionTaskCompleteEvent.SessionTaskCompleteEventData
-
Returns the value of the
summaryrecord component. - summary() - Method in record class com.github.copilot.sdk.json.SessionLifecycleEventMetadata
-
Returns the value of the
summaryrecord component. - summaryContent() - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData
-
Returns the value of the
summaryContentrecord component. - supportedMediaTypes() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities.ModelsListResultModelsItemCapabilitiesLimits.ModelsListResultModelsItemCapabilitiesLimitsVision
-
Returns the value of the
supportedMediaTypesrecord component. - supportedMediaTypes() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities.SessionModelSwitchToParamsModelCapabilitiesLimits.SessionModelSwitchToParamsModelCapabilitiesLimitsVision
-
Returns the value of the
supportedMediaTypesrecord component. - supportedReasoningEfforts() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem
-
Returns the value of the
supportedReasoningEffortsrecord component. - supports() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities
-
Returns the value of the
supportsrecord component. - supports() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities
-
Returns the value of the
supportsrecord 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
suppressOutputrecord component. - suppressOutput() - Method in record class com.github.copilot.sdk.json.PreToolUseHookOutput
-
Returns the value of the
suppressOutputrecord component. - suppressOutput() - Method in record class com.github.copilot.sdk.json.SessionEndHookOutput
-
Returns the value of the
suppressOutputrecord component. - suppressOutput() - Method in record class com.github.copilot.sdk.json.UserPromptSubmittedHookOutput
-
Returns the value of the
suppressOutputrecord 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
systemvariant. - 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.messagesession 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
SystemMessageEventDatarecord class. - SystemMessageEventDataMetadata(String, Map<String, Object>) - Constructor for record class com.github.copilot.sdk.generated.SystemMessageEvent.SystemMessageEventData.SystemMessageEventDataMetadata
-
Creates an instance of a
SystemMessageEventDataMetadatarecord 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.notificationsession 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
SystemNotificationEventDatarecord class. - SystemPromptSections - Class in com.github.copilot.sdk.json
-
Well-known system prompt section identifiers for use with
SystemMessageMode#CUSTOMIZEmode. - systemTokens() - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryCompactResult.SessionHistoryCompactResultContextWindow
-
Returns the value of the
systemTokensrecord component. - systemTokens() - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData
-
Returns the value of the
systemTokensrecord component. - systemTokens() - Method in record class com.github.copilot.sdk.generated.SessionCompactionStartEvent.SessionCompactionStartEventData
-
Returns the value of the
systemTokensrecord component. - systemTokens() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData
-
Returns the value of the
systemTokensrecord component. - systemTokens() - Method in record class com.github.copilot.sdk.generated.SessionUsageInfoEvent.SessionUsageInfoEventData
-
Returns the value of the
systemTokensrecord 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
termsrecord component. - textResultForLlm() - Method in record class com.github.copilot.sdk.json.ToolResultObject
-
Returns the value of the
textResultForLlmrecord component. - timeout() - Method in record class com.github.copilot.sdk.generated.rpc.SessionShellExecParams
-
Returns the value of the
timeoutrecord component. - timestamp() - Method in record class com.github.copilot.sdk.generated.rpc.PingResult
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.github.copilot.sdk.json.PingResponse
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.github.copilot.sdk.json.SessionEndHookInput
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.github.copilot.sdk.json.SessionStartHookInput
-
Returns the value of the
timestamprecord component. - timestamp() - Method in record class com.github.copilot.sdk.json.UserPromptSubmittedHookInput
-
Returns the value of the
timestamprecord component. - title() - Method in record class com.github.copilot.sdk.generated.SessionTitleChangedEvent.SessionTitleChangedEventData
-
Returns the value of the
titlerecord component. - toEventId() - Method in record class com.github.copilot.sdk.generated.rpc.SessionsForkParams
-
Returns the value of the
toEventIdrecord component. - tokenCount() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataCopilotUsage.AssistantUsageEventDataCopilotUsageTokenDetailsItem
-
Returns the value of the
tokenCountrecord component. - tokenDetails() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataCopilotUsage
-
Returns the value of the
tokenDetailsrecord component. - tokenLimit() - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryCompactResult.SessionHistoryCompactResultContextWindow
-
Returns the value of the
tokenLimitrecord component. - tokenLimit() - Method in record class com.github.copilot.sdk.generated.SessionTruncationEvent.SessionTruncationEventData
-
Returns the value of the
tokenLimitrecord component. - tokenLimit() - Method in record class com.github.copilot.sdk.generated.SessionUsageInfoEvent.SessionUsageInfoEventData
-
Returns the value of the
tokenLimitrecord component. - tokensRemoved() - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryCompactResult
-
Returns the value of the
tokensRemovedrecord component. - tokensRemoved() - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData
-
Returns the value of the
tokensRemovedrecord component. - tokensRemovedDuringTruncation() - Method in record class com.github.copilot.sdk.generated.SessionTruncationEvent.SessionTruncationEventData
-
Returns the value of the
tokensRemovedDuringTruncationrecord component. - tokenType() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataCopilotUsage.AssistantUsageEventDataCopilotUsageTokenDetailsItem
-
Returns the value of the
tokenTyperecord 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
ToolBinaryResultrecord class. - toolCallId() - Method in record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData.AssistantMessageEventDataToolRequestsItem
-
Returns the value of the
toolCallIdrecord component. - toolCallId() - Method in record class com.github.copilot.sdk.generated.ElicitationRequestedEvent.ElicitationRequestedEventData
-
Returns the value of the
toolCallIdrecord component. - toolCallId() - Method in record class com.github.copilot.sdk.generated.ExternalToolRequestedEvent.ExternalToolRequestedEventData
-
Returns the value of the
toolCallIdrecord component. - toolCallId() - Method in record class com.github.copilot.sdk.generated.SubagentCompletedEvent.SubagentCompletedEventData
-
Returns the value of the
toolCallIdrecord component. - toolCallId() - Method in record class com.github.copilot.sdk.generated.SubagentFailedEvent.SubagentFailedEventData
-
Returns the value of the
toolCallIdrecord component. - toolCallId() - Method in record class com.github.copilot.sdk.generated.SubagentStartedEvent.SubagentStartedEventData
-
Returns the value of the
toolCallIdrecord component. - toolCallId() - Method in record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData
-
Returns the value of the
toolCallIdrecord component. - toolCallId() - Method in record class com.github.copilot.sdk.generated.ToolExecutionPartialResultEvent.ToolExecutionPartialResultEventData
-
Returns the value of the
toolCallIdrecord component. - toolCallId() - Method in record class com.github.copilot.sdk.generated.ToolExecutionProgressEvent.ToolExecutionProgressEventData
-
Returns the value of the
toolCallIdrecord component. - toolCallId() - Method in record class com.github.copilot.sdk.generated.ToolExecutionStartEvent.ToolExecutionStartEventData
-
Returns the value of the
toolCallIdrecord component. - toolCallId() - Method in record class com.github.copilot.sdk.generated.ToolUserRequestedEvent.ToolUserRequestedEventData
-
Returns the value of the
toolCallIdrecord component. - toolCallId() - Method in record class com.github.copilot.sdk.generated.UserInputRequestedEvent.UserInputRequestedEventData
-
Returns the value of the
toolCallIdrecord 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
ToolDefinitionrecord class. - toolDefinitionsTokens() - Method in record class com.github.copilot.sdk.generated.rpc.SessionHistoryCompactResult.SessionHistoryCompactResultContextWindow
-
Returns the value of the
toolDefinitionsTokensrecord component. - toolDefinitionsTokens() - Method in record class com.github.copilot.sdk.generated.SessionCompactionCompleteEvent.SessionCompactionCompleteEventData
-
Returns the value of the
toolDefinitionsTokensrecord component. - toolDefinitionsTokens() - Method in record class com.github.copilot.sdk.generated.SessionCompactionStartEvent.SessionCompactionStartEventData
-
Returns the value of the
toolDefinitionsTokensrecord component. - toolDefinitionsTokens() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData
-
Returns the value of the
toolDefinitionsTokensrecord component. - toolDefinitionsTokens() - Method in record class com.github.copilot.sdk.generated.SessionUsageInfoEvent.SessionUsageInfoEventData
-
Returns the value of the
toolDefinitionsTokensrecord component. - ToolExecutionCompleteEvent - Class in com.github.copilot.sdk.generated
-
The
tool.execution_completesession 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
ToolExecutionCompleteEventDatarecord class. - ToolExecutionCompleteEventDataError(String, String) - Constructor for record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData.ToolExecutionCompleteEventDataError
-
Creates an instance of a
ToolExecutionCompleteEventDataErrorrecord class. - ToolExecutionCompleteEventDataResult(String, String, List<Object>) - Constructor for record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData.ToolExecutionCompleteEventDataResult
-
Creates an instance of a
ToolExecutionCompleteEventDataResultrecord class. - ToolExecutionPartialResultEvent - Class in com.github.copilot.sdk.generated
-
The
tool.execution_partial_resultsession event. - ToolExecutionPartialResultEvent() - Constructor for class com.github.copilot.sdk.generated.ToolExecutionPartialResultEvent
- ToolExecutionPartialResultEvent.ToolExecutionPartialResultEventData - Record Class in com.github.copilot.sdk.generated
-
Data payload for
ToolExecutionPartialResultEvent. - ToolExecutionPartialResultEventData(String, String) - Constructor for record class com.github.copilot.sdk.generated.ToolExecutionPartialResultEvent.ToolExecutionPartialResultEventData
-
Creates an instance of a
ToolExecutionPartialResultEventDatarecord class. - ToolExecutionProgressEvent - Class in com.github.copilot.sdk.generated
-
The
tool.execution_progresssession 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
ToolExecutionProgressEventDatarecord class. - ToolExecutionStartEvent - Class in com.github.copilot.sdk.generated
-
The
tool.execution_startsession 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
ToolExecutionStartEventDatarecord 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
toolNamerecord component. - toolName() - Method in record class com.github.copilot.sdk.generated.ToolExecutionStartEvent.ToolExecutionStartEventData
-
Returns the value of the
toolNamerecord component. - toolName() - Method in record class com.github.copilot.sdk.generated.ToolUserRequestedEvent.ToolUserRequestedEventData
-
Returns the value of the
toolNamerecord component. - toolRequests() - Method in record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData
-
Returns the value of the
toolRequestsrecord 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
ToolResultObjectrecord class. - tools - Variable in class com.github.copilot.sdk.generated.rpc.ServerRpc
-
API methods for the
toolsnamespace. - tools - Variable in class com.github.copilot.sdk.generated.rpc.SessionRpc
-
API methods for the
toolsnamespace. - tools() - Method in record class com.github.copilot.sdk.generated.rpc.ToolsListResult
-
Returns the value of the
toolsrecord component. - tools() - Method in record class com.github.copilot.sdk.generated.SessionCustomAgentsUpdatedEvent.SessionCustomAgentsUpdatedEventData.SessionCustomAgentsUpdatedEventDataAgentsItem
-
Returns the value of the
toolsrecord component. - tools() - Method in record class com.github.copilot.sdk.generated.SubagentSelectedEvent.SubagentSelectedEventData
-
Returns the value of the
toolsrecord component. - ToolsListParams - Record Class in com.github.copilot.sdk.generated.rpc
-
Request parameters for the
tools.listRPC method. - ToolsListParams(String) - Constructor for record class com.github.copilot.sdk.generated.rpc.ToolsListParams
-
Creates an instance of a
ToolsListParamsrecord class. - ToolsListResult - Record Class in com.github.copilot.sdk.generated.rpc
-
Result for the
tools.listRPC method. - ToolsListResult(List<ToolsListResult.ToolsListResultToolsItem>) - Constructor for record class com.github.copilot.sdk.generated.rpc.ToolsListResult
-
Creates an instance of a
ToolsListResultrecord 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
ToolsListResultToolsItemrecord class. - toolTelemetry() - Method in record class com.github.copilot.sdk.generated.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData
-
Returns the value of the
toolTelemetryrecord component. - toolTelemetry() - Method in record class com.github.copilot.sdk.json.ToolResultObject
-
Returns the value of the
toolTelemetryrecord component. - toolTitle() - Method in record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData.AssistantMessageEventDataToolRequestsItem
-
Returns the value of the
toolTitlerecord component. - ToolUserRequestedEvent - Class in com.github.copilot.sdk.generated
-
The
tool.user_requestedsession 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
ToolUserRequestedEventDatarecord 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
totalApiDurationMsrecord component. - totalApiDurationMs() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData
-
Returns the value of the
totalApiDurationMsrecord component. - totalNanoAiu() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataCopilotUsage
-
Returns the value of the
totalNanoAiurecord component. - totalPremiumRequestCost() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult
-
Returns the value of the
totalPremiumRequestCostrecord component. - totalPremiumRequests() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData
-
Returns the value of the
totalPremiumRequestsrecord component. - totalResponseSizeBytes() - Method in record class com.github.copilot.sdk.generated.AssistantStreamingDeltaEvent.AssistantStreamingDeltaEventData
-
Returns the value of the
totalResponseSizeBytesrecord component. - totalTokens() - Method in record class com.github.copilot.sdk.generated.SubagentCompletedEvent.SubagentCompletedEventData
-
Returns the value of the
totalTokensrecord component. - totalTokens() - Method in record class com.github.copilot.sdk.generated.SubagentFailedEvent.SubagentFailedEventData
-
Returns the value of the
totalTokensrecord component. - totalToolCalls() - Method in record class com.github.copilot.sdk.generated.SubagentCompletedEvent.SubagentCompletedEventData
-
Returns the value of the
totalToolCallsrecord component. - totalToolCalls() - Method in record class com.github.copilot.sdk.generated.SubagentFailedEvent.SubagentFailedEventData
-
Returns the value of the
totalToolCallsrecord component. - totalUserRequests() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult
-
Returns the value of the
totalUserRequestsrecord component. - traceparent() - Method in record class com.github.copilot.sdk.generated.ExternalToolRequestedEvent.ExternalToolRequestedEventData
-
Returns the value of the
traceparentrecord component. - tracestate() - Method in record class com.github.copilot.sdk.generated.ExternalToolRequestedEvent.ExternalToolRequestedEventData
-
Returns the value of the
tracestaterecord 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
transformedContentrecord 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
ttftMsrecord component. - turnId() - Method in record class com.github.copilot.sdk.generated.AssistantTurnEndEvent.AssistantTurnEndEventData
-
Returns the value of the
turnIdrecord component. - turnId() - Method in record class com.github.copilot.sdk.generated.AssistantTurnStartEvent.AssistantTurnStartEventData
-
Returns the value of the
turnIdrecord component. - type() - Method in record class com.github.copilot.sdk.generated.AssistantMessageEvent.AssistantMessageEventData.AssistantMessageEventDataToolRequestsItem
-
Returns the value of the
typerecord component. - type() - Method in record class com.github.copilot.sdk.generated.ElicitationRequestedEvent.ElicitationRequestedEventData.ElicitationRequestedEventDataRequestedSchema
-
Returns the value of the
typerecord component. - type() - Method in record class com.github.copilot.sdk.generated.rpc.McpDiscoverResult.McpDiscoverResultServersItem
-
Returns the value of the
typerecord component. - type() - Method in record class com.github.copilot.sdk.generated.rpc.SessionFsReaddirWithTypesResult.SessionFsReaddirWithTypesResultEntriesItem
-
Returns the value of the
typerecord component. - type() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUiElicitationParams.SessionUiElicitationParamsRequestedSchema
-
Returns the value of the
typerecord component. - type() - Method in record class com.github.copilot.sdk.json.Attachment
-
Returns the value of the
typerecord component. - type() - Method in record class com.github.copilot.sdk.json.ToolBinaryResult
-
Returns the value of the
typerecord component.
U
- ui - Variable in class com.github.copilot.sdk.generated.rpc.SessionRpc
-
API methods for the
uinamespace. - ui() - Method in record class com.github.copilot.sdk.generated.CapabilitiesChangedEvent.CapabilitiesChangedEventData
-
Returns the value of the
uirecord 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
updatevariant. - UPDATE - Enum constant in enum class com.github.copilot.sdk.generated.SessionWorkspaceFileChangedEvent.SessionWorkspaceFileChangedEventData.SessionWorkspaceFileChangedEventDataOperation
-
The
updatevariant. - 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
upToEventIdrecord component. - url() - Method in record class com.github.copilot.sdk.generated.ElicitationRequestedEvent.ElicitationRequestedEventData
-
Returns the value of the
urlrecord component. - url() - Method in record class com.github.copilot.sdk.generated.rpc.SessionLogParams
-
Returns the value of the
urlrecord component. - url() - Method in record class com.github.copilot.sdk.generated.SessionErrorEvent.SessionErrorEventData
-
Returns the value of the
urlrecord component. - url() - Method in record class com.github.copilot.sdk.generated.SessionInfoEvent.SessionInfoEventData
-
Returns the value of the
urlrecord component. - url() - Method in record class com.github.copilot.sdk.generated.SessionWarningEvent.SessionWarningEventData
-
Returns the value of the
urlrecord component. - URL - Enum constant in enum class com.github.copilot.sdk.generated.ElicitationRequestedEvent.ElicitationRequestedEventData.ElicitationRequestedEventDataMode
-
The
urlvariant. - usage - Variable in class com.github.copilot.sdk.generated.rpc.SessionRpc
-
API methods for the
usagenamespace. - usage() - Method in record class com.github.copilot.sdk.generated.rpc.SessionUsageGetMetricsResult.SessionUsageGetMetricsResultModelMetricsValue
-
Returns the value of the
usagerecord component. - usage() - Method in record class com.github.copilot.sdk.generated.SessionShutdownEvent.SessionShutdownEventData.SessionShutdownEventDataModelMetricsValue
-
Returns the value of the
usagerecord component. - usageAllowedWithExhaustedQuota() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataQuotaSnapshotsValue
-
Returns the value of the
usageAllowedWithExhaustedQuotarecord component. - usedRequests() - Method in record class com.github.copilot.sdk.generated.AssistantUsageEvent.AssistantUsageEventData.AssistantUsageEventDataQuotaSnapshotsValue
-
Returns the value of the
usedRequestsrecord component. - usedRequests() - Method in record class com.github.copilot.sdk.generated.rpc.AccountGetQuotaResult.AccountGetQuotaResultQuotaSnapshotsValue
-
Returns the value of the
usedRequestsrecord component. - USER - Enum constant in enum class com.github.copilot.sdk.generated.rpc.McpDiscoverResult.McpDiscoverResultServersItem.McpDiscoverResultServersItemSource
-
The
uservariant. - USER - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionExtensionsListResult.SessionExtensionsListResultExtensionsItem.SessionExtensionsListResultExtensionsItemSource
-
The
uservariant. - USER - Enum constant in enum class com.github.copilot.sdk.generated.SessionExtensionsLoadedEvent.SessionExtensionsLoadedEventData.SessionExtensionsLoadedEventDataExtensionsItem.SessionExtensionsLoadedEventDataExtensionsItemSource
-
The
uservariant. - UserInputCompletedEvent - Class in com.github.copilot.sdk.generated
-
The
user_input.completedsession 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
UserInputCompletedEventDatarecord 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.requestedsession 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
UserInputRequestedEventDatarecord 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
userInvocablerecord component. - userInvocable() - Method in record class com.github.copilot.sdk.generated.SessionCustomAgentsUpdatedEvent.SessionCustomAgentsUpdatedEventData.SessionCustomAgentsUpdatedEventDataAgentsItem
-
Returns the value of the
userInvocablerecord component. - userInvocable() - Method in record class com.github.copilot.sdk.generated.SessionSkillsLoadedEvent.SessionSkillsLoadedEventData.SessionSkillsLoadedEventDataSkillsItem
-
Returns the value of the
userInvocablerecord component. - UserMessageEvent - Class in com.github.copilot.sdk.generated
-
The
user.messagesession 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
UserMessageEventDatarecord 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
UserPromptSubmittedHookInputrecord 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
UserPromptSubmittedHookOutputrecord 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
variablesrecord component. - version() - Method in record class com.github.copilot.sdk.generated.rpc.SessionPluginsListResult.SessionPluginsListResultPluginsItem
-
Returns the value of the
versionrecord component. - version() - Method in record class com.github.copilot.sdk.generated.SessionStartEvent.SessionStartEventData
-
Returns the value of the
versionrecord component. - vision() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities.ModelsListResultModelsItemCapabilitiesLimits
-
Returns the value of the
visionrecord component. - vision() - Method in record class com.github.copilot.sdk.generated.rpc.ModelsListResult.ModelsListResultModelsItem.ModelsListResultModelsItemCapabilities.ModelsListResultModelsItemCapabilitiesSupports
-
Returns the value of the
visionrecord component. - vision() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities.SessionModelSwitchToParamsModelCapabilitiesLimits
-
Returns the value of the
visionrecord component. - vision() - Method in record class com.github.copilot.sdk.generated.rpc.SessionModelSwitchToParams.SessionModelSwitchToParamsModelCapabilities.SessionModelSwitchToParamsModelCapabilitiesSupports
-
Returns the value of the
visionrecord component.
W
- WARNING - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionLogParams.SessionLogParamsLevel
-
The
warningvariant. - warnings() - Method in record class com.github.copilot.sdk.generated.SessionCustomAgentsUpdatedEvent.SessionCustomAgentsUpdatedEventData
-
Returns the value of the
warningsrecord component. - warningType() - Method in record class com.github.copilot.sdk.generated.SessionWarningEvent.SessionWarningEventData
-
Returns the value of the
warningTyperecord component. - wasFreeform() - Method in record class com.github.copilot.sdk.generated.UserInputCompletedEvent.UserInputCompletedEventData
-
Returns the value of the
wasFreeformrecord component. - WINDOWS - Enum constant in enum class com.github.copilot.sdk.generated.rpc.SessionFsSetProviderParams.SessionFsSetProviderParamsConventions
-
The
windowsvariant. - 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
workingDirectoryrecord component. - workspace - Variable in class com.github.copilot.sdk.generated.rpc.SessionRpc
-
API methods for the
workspacenamespace. - WORKSPACE - Enum constant in enum class com.github.copilot.sdk.generated.rpc.McpDiscoverResult.McpDiscoverResultServersItem.McpDiscoverResultServersItemSource
-
The
workspacevariant. - workspacePath() - Method in record class com.github.copilot.sdk.json.CreateSessionResponse
-
Returns the value of the
workspacePathrecord component. - workspacePath() - Method in record class com.github.copilot.sdk.json.GetForegroundSessionResponse
-
Returns the value of the
workspacePathrecord component. - workspacePath() - Method in record class com.github.copilot.sdk.json.ResumeSessionResponse
-
Returns the value of the
workspacePathrecord component.
All Classes and Interfaces|All Packages|Constant Field Values
CopilotClientOptions.getGitHubToken()instead.