Class SessionToolsApi
java.lang.Object
com.github.copilot.generated.rpc.SessionToolsApi
API methods for the
tools namespace.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionIdentifies the target session.Pending external tool call request ID, with the tool result or an error describing why it failed.Identifies the target session.Subagent settings to apply to the current session
-
Method Details
-
handlePendingToolCall
@CopilotExperimental public CompletableFuture<SessionToolsHandlePendingToolCallResult> handlePendingToolCall(SessionToolsHandlePendingToolCallParams params) Pending external tool call request ID, with the tool result or an error describing why it failed.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
initializeAndValidate
Identifies the target session.- Since:
- 1.0.0
-
getCurrentMetadata
@CopilotExperimental public CompletableFuture<SessionToolsGetCurrentMetadataResult> getCurrentMetadata()Identifies the target session.- Since:
- 1.0.0
-
updateSubagentSettings
@CopilotExperimental public CompletableFuture<Void> updateSubagentSettings(SessionToolsUpdateSubagentSettingsParams params) Subagent settings to apply to the current sessionNote: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-