Uses of Annotation Interface
com.github.copilot.CopilotExperimental
Packages that use CopilotExperimental
Package
Description
Core classes for the GitHub Copilot SDK for Java.
Auto-generated session event types for the GitHub Copilot SDK.
Auto-generated RPC parameter and result types for the GitHub Copilot SDK.
Configuration classes and data transfer objects for the Copilot SDK.
-
Uses of CopilotExperimental in com.github.copilot
Classes in com.github.copilot with annotations of type CopilotExperimentalModifier and TypeClassDescriptionfinal classA ready, connection-owned AHP listener.final recordA connection-owned listener's termination and cleanup outcome.final classOptions for in-process AHP hosting.final recordAn application-owned AHP session creation request.final recordAn application-owned durable AHP session resume request.@interfaceGenerates a response schema using the same annotation processor and type mappings as@CopilotTool.interfaceProvides session-scoped skills to the Copilot runtime.final recordCatalog metadata for one skill supplied by aSkillProvider.Methods in com.github.copilot with annotations of type CopilotExperimentalModifier and TypeMethodDescription<T> CompletableFuture<T> CopilotSession.sendAndWait(MessageOptions options, Class<T> responseType) Sends a message using its result type's generated schema.<T> CompletableFuture<T> CopilotSession.sendAndWait(MessageOptions options, Class<T> responseType, long timeoutMs) Infers a schema using the custom-tool annotation processor, then deserializes the last correlated root message without tool requests at non-autopilot idle.<T> CompletableFuture<T> CopilotSession.sendAndWait(String prompt, Class<T> responseType) Sends a prompt using the schema generated for aCopilotResponsetype.CopilotSession.setAutoTier(AutoTier autoTier) Changes the Auto routing preference without changing the selected model.CopilotSession.setTools(List<ToolDefinition> tools) Replaces this client's externally implemented tools on the live session.CopilotClient.startAhpHost(AhpHostOptions options) Starts in-process AHP hosting owned by this client's current connection. -
Uses of CopilotExperimental in com.github.copilot.generated
Classes in com.github.copilot.generated with annotations of type CopilotExperimentalModifier and TypeClassDescriptionfinal classSession event "assistant.fusion_phase_activity".static final recordData payload forAssistantFusionPhaseActivityEvent.final classSession event "assistant.fusion_phase_completed".static final recordData payload forAssistantFusionPhaseCompletedEvent.final classSession event "assistant.fusion_phase_failed".static final recordData payload forAssistantFusionPhaseFailedEvent.final classSession event "assistant.fusion_phase_started".static final recordData payload forAssistantFusionPhaseStartedEvent.final recordNeutral provider-tagged reasoning content blocks preserved verbatim for round-trippingfinal recordNeutral provider-tagged server-side tool-use payload (tool search, advisor) for verbatim round-trippingfinal recordA single canvas declaration in `session.canvas.registry_changed`, including provider IDs, display metadata, input schema, and actions.final recordA single action within a canvas declaration, with its name, optional description, and optional input schema.final recordA source supplied by a tool that should be made available to the model as citable content.enumThe system that produced a citation.final recordA single citation occurrence linking a span of generated text to a supporting source.final recordProvider-agnostic citations linking spans of the assistant's response to their supporting sources.final recordA source that backs one or more cited spans in the assistant's response.final recordA contiguous span of generated assistant text and the source references that support it.final recordExperimental attribution linking an ordinary event to the HydraFusion turn, phase, and concrete source that produced it.enumConversation scope in which a HydraFusion phase executes.final recordData typeFusionCritic.enumServer-recommended routing behavior for a later HydraFusion turn.final recordDurable server recommendation for subsequent HydraFusion turns.enumValidated HydraFusion execution pattern.enumContent-safe activity observed while a HydraFusion phase is running.enumHydraFusion phase kind.final recordPresentation-neutral phase planned for a HydraFusion turn.enumDurable outcome status of a HydraFusion phase.final recordAggregate concrete-model usage for one HydraFusion phase.enumHow a durable phase checkpoint contributes its exact message to canonical root history.final recordValidated HydraFusion routing capability scores.final recordInternal durable terminal request staged by a HydraFusion phase until an idempotent final commit selects it.enumKind of turn for which HydraFusion routing is running.enumCurrent phase of organization-required plugin preparation.enumThe neutral kind of a model provider — the model analog of `AccountKind`.final recordA neutral reference to the model provider that produced a model: an opaque id, a human-readable label, and the provider kind.final classSession event "permission.assentDetected".static final recordData payload forPermissionAssentDetectedEvent.final classSession event "permission.carriedForward".static final recordData payload forPermissionCarriedForwardEvent.final classSession event "permission.contextualAuthorization".static final recordData payload forPermissionContextualAuthorizationEvent.final classSession event "permission.messageAuthorizationDegraded".static final recordData payload forPermissionMessageAuthorizationDegradedEvent.final classSession event "permission.messageAuthorization".static final recordData payload forPermissionMessageAuthorizationEvent.enumDirection stored in a historical extractor claim.final classSession event "permission.messageAuthorizationRead".static final recordData payload forPermissionMessageAuthorizationReadEvent.enumPermission mode for the session.final recordAn account quota reading.final classSession event "session.auto_mode_resolved".static final recordData payload forSessionAutoModeResolvedEvent.final classSession event "session.auto_tier_recommendation".static final recordData payload forSessionAutoTierRecommendationEvent.final classSession event "session.binary_asset".static final recordData payload forSessionBinaryAssetEvent.final classSession event "session.canvas.closed".static final recordData payload forSessionCanvasClosedEvent.final classSession event "session.canvas.opened".static final recordData payload forSessionCanvasOpenedEvent.final classSession event "session.canvas.recorded".static final recordData payload forSessionCanvasRecordedEvent.final classSession event "session.canvas.registry_changed".static final recordData payload forSessionCanvasRegistryChangedEvent.final classSession event "session.canvas.removed".static final recordData payload forSessionCanvasRemovedEvent.final classSession event "session.canvas.unavailable".static final recordData payload forSessionCanvasUnavailableEvent.final classSession event "session.completion_receipt".static final recordData payload forSessionCompletionReceiptEvent.final classSession event "session.fusion_completed".static final recordData payload forSessionFusionCompletedEvent.final classSession event "session.fusion_resolved".static final recordData payload forSessionFusionResolvedEvent.final classSession event "session.fusion_route_failed".static final recordData payload forSessionFusionRouteFailedEvent.final classSession event "session.fusion_route_started".static final recordData payload forSessionFusionRouteStartedEvent.final classSession event "session.managed_plugin_progress".static final recordData payload forSessionManagedPluginProgressEvent.final classSession event "session.managed_settings_enforced".static final recordData payload forSessionManagedSettingsEnforcedEvent.final classSession event "session.managed_settings_resolved".static final recordData payload forSessionManagedSettingsResolvedEvent.final classSession event "session.permissions_changed".static final recordData payload forSessionPermissionsChangedEvent.final classSession event "session.quota_observation".static final recordData payload forSessionQuotaObservationEvent.final classSession event "skill.context_delivered".static final recordData payload forSkillContextDeliveredEvent.final classSession event "skill.context_delivered_ref".static final recordData payload forSkillContextDeliveredRefEvent.final classSession event "skill.invoked_ref".static final recordData payload forSkillInvokedRefEvent.final recordStructured reason that the task cannot continue without interventionfinal recordA file mutation that was actually committed by a built-in file editing tool.final classKind of file mutation committed by a built-in editing tool.final recordExperimental shell completion facts retained independently of the full tool result.final classSession event "ui.ephemeral_query".static final recordData payload forUiEphemeralQueryEvent.enumLifecycle phase for a Rust-owned ephemeral query stream.final classSession event "workflow.run_settled".static final recordData payload forWorkflowRunSettledEvent.final classSession event "workflow.run_started".static final recordData payload forWorkflowRunStartedEvent.final classSession event "workflow.run_updated".static final recordData payload forWorkflowRunUpdatedEvent.Methods in com.github.copilot.generated with annotations of type CopilotExperimentalModifier and TypeMethodDescriptionPermissionMessageAuthorizationEvent.PermissionMessageAuthorizationEventData.actionClass()Returns the value of theactionClassrecord component.PermissionMessageAuthorizationReadEvent.PermissionMessageAuthorizationReadEventData.activatesExtraction()Returns the value of theactivatesExtractionrecord component.SessionPermissionsChangedEvent.SessionPermissionsChangedEventData.assistedApprovalModel()Returns the value of theassistedApprovalModelrecord component.AssistantMessageEvent.AssistantMessageEventData.citations()Returns the value of thecitationsrecord component.AssistantUsageEvent.AssistantUsageEventData.cost()Returns the value of thecostrecord component.SessionFusionResolvedEvent.SessionFusionResolvedEventData.critics()Returns the value of thecriticsrecord component.PermissionCarriedForwardEvent.PermissionCarriedForwardEventData.decisionSource()Returns the value of thedecisionSourcerecord component.PermissionCompletedEvent.PermissionCompletedEventData.decisionSource()Returns the value of thedecisionSourcerecord component.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData.fileEdits()Returns the value of thefileEditsrecord component.AssistantMessageEvent.AssistantMessageEventData.fusion()Returns the value of thefusionrecord component.AssistantUsageEvent.AssistantUsageEventData.fusion()Returns the value of thefusionrecord component.ModelCallFailureEvent.ModelCallFailureEventData.fusion()Returns the value of thefusionrecord component.ModelCallStartEvent.ModelCallStartEventData.fusion()Returns the value of thefusionrecord component.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData.fusion()Returns the value of thefusionrecord component.ToolExecutionStartEvent.ToolExecutionStartEventData.fusion()Returns the value of thefusionrecord component.SessionFusionResolvedEvent.SessionFusionResolvedEventData.hint()Returns the value of thehintrecord component.SessionFusionResolvedEvent.SessionFusionResolvedEventData.judgeModel()Returns the value of thejudgeModelrecord component.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData.mcpMeta()Returns the value of themcpMetarecord component.SessionPermissionsChangedEvent.SessionPermissionsChangedEventData.mode()Returns the value of themoderecord component.SessionFusionResolvedEvent.SessionFusionResolvedEventData.phasePlan()Returns the value of thephasePlanrecord component.PermissionContextualAuthorizationEvent.PermissionContextualAuthorizationEventData.polarity()Returns the value of thepolarityrecord component.PermissionMessageAuthorizationEvent.PermissionMessageAuthorizationEventData.polarity()Returns the value of thepolarityrecord component.SessionPermissionsChangedEvent.SessionPermissionsChangedEventData.previousMode()Returns the value of thepreviousModerecord component.AssistantFusionPhaseCompletedEvent.AssistantFusionPhaseCompletedEventData.reasoningEffort()Returns the value of thereasoningEffortrecord component.AssistantFusionPhaseFailedEvent.AssistantFusionPhaseFailedEventData.reasoningEffort()Returns the value of thereasoningEffortrecord component.AssistantFusionPhaseStartedEvent.AssistantFusionPhaseStartedEventData.reasoningEffort()Returns the value of thereasoningEffortrecord component.PermissionCarriedForwardEvent.PermissionCarriedForwardEventData.recordId()Returns the value of therecordIdrecord component.PermissionContextualAuthorizationEvent.PermissionContextualAuthorizationEventData.recordId()Returns the value of therecordIdrecord component.PermissionMessageAuthorizationEvent.PermissionMessageAuthorizationEventData.recordId()Returns the value of therecordIdrecord component.SessionFusionResolvedEvent.SessionFusionResolvedEventData.repairModel()Returns the value of therepairModelrecord component.PermissionAssentDetectedEvent.PermissionAssentDetectedEventData.requestId()Returns the value of therequestIdrecord component.PermissionCarriedForwardEvent.PermissionCarriedForwardEventData.requestId()Returns the value of therequestIdrecord component.PermissionContextualAuthorizationEvent.PermissionContextualAuthorizationEventData.requestId()Returns the value of therequestIdrecord component.ToolExecutionCompleteEvent.ToolExecutionCompleteEventData.shellExecution()Returns the value of theshellExecutionrecord component.PermissionContextualAuthorizationEvent.PermissionContextualAuthorizationEventData.spanEnd()Returns the value of thespanEndrecord component.PermissionMessageAuthorizationEvent.PermissionMessageAuthorizationEventData.spanEnd()Returns the value of thespanEndrecord component.PermissionContextualAuthorizationEvent.PermissionContextualAuthorizationEventData.spanStart()Returns the value of thespanStartrecord component.PermissionMessageAuthorizationEvent.PermissionMessageAuthorizationEventData.spanStart()Returns the value of thespanStartrecord component.ToolExecutionProgressEvent.ToolExecutionProgressEventData.structuredContent()Returns the value of thestructuredContentrecord component.PermissionMessageAuthorizationEvent.PermissionMessageAuthorizationEventData.targetMembers()Returns the value of thetargetMembersrecord component.PermissionMessageAuthorizationEvent.PermissionMessageAuthorizationEventData.task()Returns the value of thetaskrecord component.PermissionCarriedForwardEvent.PermissionCarriedForwardEventData.toolCallId()Returns the value of thetoolCallIdrecord component.SessionShutdownEvent.SessionShutdownEventData.totalNanoAiu()Returns the value of thetotalNanoAiurecord component.PermissionAssentDetectedEvent.PermissionAssentDetectedEventData.turnIndex()Returns the value of theturnIndexrecord component.PermissionContextualAuthorizationEvent.PermissionContextualAuthorizationEventData.turnIndex()Returns the value of theturnIndexrecord component.PermissionMessageAuthorizationDegradedEvent.PermissionMessageAuthorizationDegradedEventData.turnIndex()Returns the value of theturnIndexrecord component.PermissionMessageAuthorizationEvent.PermissionMessageAuthorizationEventData.turnIndex()Returns the value of theturnIndexrecord component.PermissionMessageAuthorizationReadEvent.PermissionMessageAuthorizationReadEventData.turnIndex()Returns the value of theturnIndexrecord component.PermissionMessageAuthorizationEvent.PermissionMessageAuthorizationEventData.world()Returns the value of theworldrecord component. -
Uses of CopilotExperimental in com.github.copilot.generated.rpc
Classes in com.github.copilot.generated.rpc with annotations of type CopilotExperimentalModifier and TypeClassDescriptionfinal recordCurrent authentication statefinal recordRequest parameters for theaccount.getQuotaRPC method.final recordQuota usage snapshots for the resolved user, keyed by quota type.enumThe provider kind stamped on a signed-in account.final recordCredentials to validate and store.final recordResult of a successful login; throws on failurefinal recordUser to log outfinal recordLogout result indicating if more users remainfinal recordOne signed-in account in the roster forest.final recordInputs to spawn a managed-server child via the controller's spawn delegate.final recordOptional project paths to include in agent discovery.final recordAgents discovered across user, project, plugin, and remote sources.final recordOptional project paths to include when enumerating agent discovery directories.final recordCanonical locations where custom agents can be created so the runtime will recognize them.classThe enumerated collection, keyed by the same selector as the query.final recordCredential-free identity metadata.final recordA credential-free account choice after sign-in.final recordResult of an interactive login flow.enumDisposition of a login attempt, including pending user decisions.classOne step in an interactive login flow.final classVariantawaitingofAuthLoginStep.final classVariantcompletedofAuthLoginStep.final classVarianterrorofAuthLoginStep.final classVariantinput-requiredofAuthLoginStep.final classVariantneeds-interactionofAuthLoginStep.final classVariantopen-urlofAuthLoginStep.classThe read result, keyed by the same selector as the query.final classVariantactiveAccountofAuthReadValue.final classVariantlastErrorsofAuthReadValue.final classVariantstatusofAuthReadValue.final recordNeutral authentication status summary.final recordCurrent per-window credit limit and consumption for an autopilot objective.final recordPublic, persistence-independent projection of an autopilot objective.enumCurrent normalized autopilot objective lifecycle status.final recordRust-owned metadata and input schema for a built-in tool.final recordCustom grammar input format accepted by a built-in tool.enumCustom input-format kind.final recordJSON Schema object accepted by a built-in tool.enumRoot JSON Schema type for a built-in tool input.final recordCanvas action that the agent or host can invoke.final recordCanvas action invocation parameters sent to the provider.final recordCanvas close parameters sent to the provider.final recordHost context supplied by the runtime.final recordHost capabilitiesfinal recordCanvas open parameters sent to the provider.final recordCanvas open result returned by the provider.final recordSession context supplied by the runtime.final recordA bounded catalog search.final classA bounded catalog search.final recordTerminates one retained catalog selection group through an opaque reference previously returned by the model-safe search projection.final recordSlash commands available in the session, after applying any include/exclude filters.final recordAccount-targeted authorization update required by the Connector service.enumStable OAuth scope whose absence prevents Connector management.enumAvailability of the EXPERIMENTAL session connector API.final recordCredential-free Connector catalog entry.final recordValidated Connector catalog snapshot cached by the session.enumAuthoritative service connection state for one Connector.classTyped result of initiating or continuing a Connector connection.final classThe service is connected and the session MCP graph was reconciled.final classHost-owned consent is required before bounded continuation can complete.final classThe service is still completing the connection without a consent URL.final recordEligible account.final recordAccount metadata.enumAvailability.final recordEntry.enumLive MCP status of one Connector-owned runtime server.final recordLive status of one session-owned MCP projection.final recordSession account selection.final recordEligible accounts.final recordFeature availability.final recordSelected account.final recordEntries for the selected account.final recordSelected account.final recordEntries for the selected account.final recordAuthoritative session connector state.final recordContent-exclusion decision for one requested path.final recordResult of one customization reload component.final classResult of reloading a customization component.final classComponent of session customization discovery.final recordResults of reloading discovered session customizations.final recordPer-source session diagnostics configuration.final recordCanvas available in the current session.final recordA model offered for agent conversations.final recordHosting capabilities and session capacity advertised by an environment.enumGitHub Mission Control compute kind.final recordIdentify a user-managed Mission Control environment to delete.final recordIdentify a Mission Control environment to retrieve.final recordSafe discovery information for the requested environment.final recordOptional discovery filters supported by GitHub Mission Control.final recordEnvironments visible to the authenticated caller and matching the supplied filters.final recordOpaque integrator-owned process launch profile for one extension entrypoint.final recordA discovered extension entrypoint that the registered integrator may classify and resolve to an opaque launch profile.final recordThe launch profile for a supported entrypoint.final recordSource-qualified extension identifiers to persistently disable for future sessions.final recordExtensions discovered from persisted Copilot home state and their effective loading mode.final recordSource-qualified extension identifiers to persistently enable for future sessions.final recordSafe discovery information.final recordClient environment metadata describing the process that produced a telemetry event.final recordA single telemetry event in the runtime's native GitHub-shaped telemetry format, forwarded verbatim to opted-in hosts.final recordPayload for a `gitHubTelemetry.event` notification: a single GitHub telemetry event the runtime forwards to a host connection that opted into telemetry forwarding during the `server.connect` handshake.final recordAsks the SDK client to acquire a GitHub access token from an opaque callback registration.classSDK host response to a GitHub credential request.final recordOptional project paths and host-exclusion behavior for server-scoped hook discovery.final recordServer-discovered hook actions and partial-load diagnostics from user, repository, plugin, and managed-policy sources.final recordStops a connection-owned listener and joins its teardown.final recordEmpty acknowledgement for a completed host lifecycle operation.final recordReports a supervised listener's hosting-task termination and cleanup outcome.enumValues forHostExitReason.final recordGitHub Mission Control registration options.final recordReads a running host's catalog or the runtime's saved default catalog.final recordThe complete live and dormant advertised catalog, without subscribing to sessions.final recordLocal WebSocket transport options.final recordPublishes a resident session attached to the listener's owning connection.final recordThe existing runtime identity and its resource on the listener.final recordMetadata advertised by the AHP host, not a guarantee that history can be resumed.final recordStarts a supervised AHP host with at least one explicitly selected transport.final classStarts a supervised AHP host with at least one explicitly selected transport.final recordListener readiness, returned only after binding and the supervised participant's SDK handshake.final recordA response is meaningful only on the connection and request that issued its challenge.final recordOptional project paths to include in instruction discovery.final recordInstruction sources discovered across user, repository, and plugin sources.final recordOptional project paths to include when enumerating instruction discovery targets.final recordCanonical files and directories where custom instructions can be created so the runtime will recognize them.final recordAcknowledgement.final recordAcknowledgement.final recordA response body chunk or terminal error.final recordWhether the chunk was accepted.final recordResponse head.final recordWhether the start frame was accepted.final recordIndicates whether the calling client was registered as the LLM inference provider.enumA provider a consumer may interactively sign in with.final recordRetry outcome for one plugin required by managed settings.enumWhat retrying did for one plugin required by managed settings.final recordLock state and provenance of one managed setting.enumA channel accepted by managedSettings.compose.final recordOne candidate channel; absent settings represents a channel that delivered no document.final recordCandidate managed-settings documents to merge without applying them.final recordThe effective managed settings the runtime would enforce for the given documents, in the same shape `managedSettings.resolve` returns.final recordOne validation finding for a managed-settings document.enumSeverity of a managed-settings validation finding.final recordOne managed-settings channel and the document it delivered.final recordPer-key lock state and provenance for `ManagedSettingsValues`, with the same field names.final recordValidated device-managed settings discovered before a session exists.final recordEffective enterprise managed settings and contributing channels.final recordRequest parameters for themanagedSettings.resolveRPC method.final recordEffective enterprise managed settings for an account, resolved without a session.final recordThe authoring JSON schema for managed settings recognized by this runtime.final recordA candidate managed-settings document to validate without applying it.final recordResult of validating a managed-settings document.final recordTyped effective values of managed settings.final recordApplies exactly one previously prepared operation on its original connection.final recordOne-use application of the exact retained removal plan.final recordMCP server name and configuration to add to user configuration.final recordMCP server names to disable for new sessions.final recordMCP server names to enable for new sessions.final recordUser-configured MCP servers, keyed by server name.final recordMCP server name to remove from user configuration.final recordMCP server name and replacement configuration to write to user configuration.final recordEffective MCP configuration entry.final recordObservational state for a matching already materialized MCP server.final recordOptional working directory used as context for MCP server discovery.final recordMCP servers discovered from user, workspace, plugin, and built-in sources.final recordMCP CreateMessageResult payload (with optional 'tools' extension), present when action='success'.final recordExisting-operation control.final recordNew-work inventory or recovery request under an explicitly selected existing session.final recordNew-work inventory or recovery request under an explicitly selected existing session.final recordExisting-operation control.final recordA side-effect-free request for an MCP install plan.final classA side-effect-free request for an MCP install plan.final recordRead-only preparation of one owned removal under fresh selected-session authority.final recordSide-effect-free preparation of one original bound remote MCP choice.final recordProvider-reported model artifact metadata.final recordA normalized model-provider adapter in the session's effective catalog.final recordAn operation supported by a model-provider adapter.final recordContributor attribution, independent of routing identity and authorization.final recordAdapter-declared policy that tells clients whether discovery may run automatically.final recordOne model provider available to the session — the model analog of the account `ProviderDescriptor`.final recordA normalized model-provider instance discovered by the runtime.final recordSerializable reference to a discovered provider instance.enumThe neutral kind of a model provider — the model analog of `AccountKind`.final recordTyped provider-operation outcome.final recordAttribution for the adapter that produced a provider row.final recordA neutral reference to the model provider that produced a model: an opaque id, a human-readable label, and the provider kind.final recordA non-fatal provider observation warning.final recordThe running runtime's complete catalog of well-known built-in model IDs, including supported models and additional IDs with built-in metadata.final recordRequest parameters for themodels.listRPC method.final recordList of Copilot models available to the resolved user, including capabilities and billing metadata.enumWhether the requested preference was already effective or was accepted for later transactional activation.final recordOpen canvas instance snapshot.enumCurrent or requested permission mode.enumOptional source for permission-mode telemetry.final recordOptional message to echo back to the caller.final recordServer liveness response, including the echoed message, current server timestamp, and protocol version.final recordTrusted built-in plugin directories to use for this runtime process.final recordPlugin names (or specs) to disable, plus the optional working directory the repository-controlled guard is evaluated against.final recordPlugin names (or specs) to enable, plus the optional working directory the repository-controlled guard is evaluated against.final recordPlugin source and optional working directory for relative-path resolution.final recordResult of installing a plugin.final recordPlugins installed in user/global state.final recordMarketplace source and optional working directory for relative-path resolution.final recordResult of registering a new marketplace.final recordName of the marketplace whose plugin catalog to fetch.final recordPlugins advertised by the marketplace.final recordAll registered marketplaces, including built-in defaults.final recordRequest parameters for theplugins.marketplaces.refreshRPC method.final recordResult of refreshing one or more marketplace catalogs.final recordName of the marketplace to remove and an optional force flag.final recordOutcome of the remove attempt, including dependent-plugin info when applicable.final recordName (or spec) of the plugin to uninstall.final recordResult of updating all installed plugins.final recordName (or spec) of the plugin to update.final recordResult of updating a single plugin.enumControls whether the runtime may defer loading an external tool definition.final recordSerializable definition of a caller-implemented tool whose execution is handled over the SDK connection.final recordCustom model-provider configuration (BYOK).final recordA provider offered for interactive login.final recordAn account quota reading.final recordAsks the SDK client to acquire a bearer token for a BYOK provider whose config set `hasBearerTokenProvider: true`.final recordA bearer token supplied by the SDK client for a BYOK provider.final recordResolved sandbox configuration.enumOrigin of the sandbox choice supplied by the host.final recordWhether the host running this runtime can run the command sandbox.final recordIdentifies the credential hosts that the persistent certificate authority of the sandbox credential proxy must cover.final recordResult of creating the persistent certificate authority of the sandbox credential proxy.final recordIdentifies the credential hosts that the persistent certificate authority of the sandbox credential proxy must cover.final recordStatus of the persistent certificate authority of the sandbox credential proxy.final recordStatus of the persistent certificate authority of the sandbox credential proxy.final recordIdentifies the credential hosts that the persistent certificate authority of the sandbox credential proxy must cover.final recordStatus of the persistent certificate authority of the sandbox credential proxy.enumState of the persistent certificate authority of the sandbox credential proxy.final recordIdentifies the credential hosts that the persistent certificate authority of the sandbox credential proxy must cover.final recordStatus of the persistent certificate authority of the sandbox credential proxy.final recordSecret values to add to the redaction filter.final recordConfirmation that the secret values were registered.final recordParameters for aborting the current turnfinal recordResult of aborting the current turnfinal recordEnumerate request carrying the typed collection query.final recordRead request carrying the typed datum query.final recordAdvance an in-flight login flow, optionally fulfilling an input-required step.final recordBegin an interactive login flow for a provider kind.final recordA started login flow: its opaque id and first step.final recordCancel an in-flight login flow.final recordMutation request carrying the typed write command.final recordResult of a non-interactive accounts mutation.final recordIdentifies the target session.final recordIdentifies the target session.final recordThe currently selected custom agent, or null when using the default agent.final recordRequest parameters for thesession.agent.listRPC method.final recordAgents available to the session.final recordIdentifies the target session.final recordCustom agents available to the session after reloading definitions from disk.final recordName of the custom agent to select for subsequent turns.final recordThe newly selected custom agent.final recordAn in-memory authored prompt override for an available agent.final recordIdentifies the target session.final recordCanonical runtime state for the session's current autopilot objective.final recordIdentifies the target session.final recordCanvas action invocation parameters.final recordCanvas action invocation result.final recordCanvas close parameters.final recordIdentifies the target session.final recordLive open-canvas snapshot.final recordIdentifies the target session.final recordDeclared canvases available in this session.final recordCanvas open parameters.final recordOpen canvas instance snapshot.final recordSlash-prefixed command string to enqueue for FIFO processing.final recordSlash command name and argument string to execute synchronously.final recordError message produced while executing the command, if any.final recordPending command request ID and an optional error if the client handler failed.final recordIndicates whether the pending client-handled command was completed successfully.final recordSlash command name and optional raw input string to invoke.final recordRequest parameters for thesession.commands.listRPC method.final recordSlash commands available in the session, after applying any include/exclude filters.final recordQueued-command request ID and the result indicating whether the host executed it (and whether to stop processing further queued commands).final recordIndicates whether the queued-command response was matched to a pending request.final recordIdentifies the target session.final recordCharacters that, when typed in the composer, should trigger a `completions.request`.final recordRequest host-driven completions for the current composer input.final recordHost-driven completion items for the current composer input.final recordSelects one Connector and the pinned host-owned account used for its service and MCP authorization.final recordExplicitly bounded continuation of a pending Connector connection.final recordSelects one Connector and the pinned host-owned account used for its service and MCP authorization.final recordAuthoritative result after disconnect and MCP reconciliation.final recordIdentifies the target session.final recordIdentifies the target session.final recordFeature detection and hard polling limits for the EXPERIMENTAL session connector API.final recordIdentifies the target session.final recordAuthoritative session connector state.final recordPins a Connector operation to one host-owned GitHub account through its opaque selection ID.final recordValidated Connector catalog snapshot cached by the session.final recordRequests authoritative Connector-to-MCP reconciliation for the pinned account.final classRequests authoritative Connector-to-MCP reconciliation for the pinned account.final recordAuthoritative session connector state.final recordSelects one Connector and the pinned host-owned account used for its service and MCP authorization.final recordPins a Connector operation to one host-owned GitHub account through its opaque selection ID.final recordValidated Connector catalog snapshot cached by the session.final recordLocal file system absolute paths within the session working directory to check against its content-exclusion policy.final recordBatch content-exclusion result.final recordIdentifies the target session.final recordOptions for collecting a session debug bundle with configurable redaction.final recordResult of collecting a session debug bundle.final recordPatch session diagnostic thresholds for explicitly supplied sources.final recordPer-source session diagnostics configuration.final recordCursor-based request for session diagnostics.final recordOne cursor-addressed page of retained session diagnostics.final recordCursor, batch size, and optional long-poll/filter parameters for reading session events.final recordBatch of session events returned by a read, with cursor and continuation metadata.final recordEvent type to register consumer interest for, used by runtime gating logic.final recordOpaque handle representing an event-type interest registration.final recordOpaque handle previously returned by `registerInterest` to release.final recordIndicates whether the operation succeeded.final recordIdentifies the target session.final recordSnapshot of the current tail cursor without returning any events.final recordSource-qualified extension identifier to disable for the session.final recordSource-qualified extension identifier to enable for the session.final recordIdentifies the target session.final recordExtensions discovered for the session, with their current status.final recordIdentifies the target session.final recordExtensions discovered for the session, with their current status.final recordIdentifies the target session.final recordParameters for session.extensions.sendAttachmentsToMessage.final recordParameters for starting fleet orchestration: an optional user prompt combined with the fleet instructions, plus the send options forwarded to the resulting turn.final recordIndicates whether fleet mode was successfully activated.final recordFile path, content to append, and optional mode for the client-provided session filesystem.final recordPath to test for existence in the client-provided session filesystem.final recordIndicates whether the requested path exists in the client-provided session filesystem.final recordDirectory path to create in the client-provided session filesystem, with options for recursive creation and POSIX mode.final recordDirectory path whose entries should be listed from the client-provided session filesystem.final recordNames of entries in the requested directory, or a filesystem error if the read failed.final recordDirectory path whose entries (with type information) should be listed from the client-provided session filesystem.final recordEntries in the requested directory paired with file/directory type information, or a filesystem error if the read failed.final recordPath of the binary file to read from the client-provided session filesystem.final recordFile bytes as standard base64, or a filesystem error if the read failed.final recordPath of the file to read from the client-provided session filesystem.final recordFile content as a UTF-8 string, or a filesystem error if the read failed.final recordSource and destination paths for renaming or moving an entry in the client-provided session filesystem.final recordPath to remove from the client-provided session filesystem, with options for recursive removal and force.final recordInitial working directory, session-state path layout, and path conventions used to register the calling SDK client as the session filesystem provider.final recordIndicates whether the calling client was registered as the session filesystem provider.final recordIdentifies the target session.final recordIndicates whether the per-session SQLite database already exists.final recordSQL query, query type, and optional bind parameters for executing a SQLite query against the per-session database.final recordClassified SQLite transaction failure. busyOrLocked guarantees rollback; postCommitAmbiguous must never be retried.final recordStatements to execute atomically.final recordPer-statement results, or a classified transaction error.final recordOne statement in an atomic SQLite transaction.final recordPath whose metadata should be returned from the client-provided session filesystem.final recordFilesystem metadata for the requested path, or a filesystem error if the stat failed.final recordFile path, standard-base64-encoded bytes to write, and optional mode for the client-provided session filesystem.final recordFile path, content to write, and optional mode for the client-provided session filesystem.final recordIdentifies the target session.final recordAuthentication status and account metadata for the session.final recordNew auth credentials to install on the session.final recordIndicates whether the credential update succeeded.final recordIdentifies the target session.final recordIndicates whether an in-progress manual compaction was aborted.final recordIdentifies the target session.final recordIndicates whether an in-progress background compaction was cancelled.final recordParameters for clearing the conversation and seeding the window that replaces it.final recordWhat a successful clear removed.final recordRequest parameters for thesession.history.compactRPC method.final recordCompaction outcome with the number of tokens and messages removed, summary text, and the resulting context window breakdown.final recordIdentifies the target session.final recordRewind points and file-change-tracking availability for the session.final recordEvent boundary to preview for conversation-and-files rewind.final recordFiles and aggregate changes for a prospective rewind.final recordBoundary and mode for rewinding session history.final recordStructured outcome of a rewind request.final recordIdentifies the target session.final recordMarkdown summary of the conversation context (empty when not available).final recordIdentifier of the event to truncate to; this event and all later events are removed.final recordNumber of events that were removed by the truncation.final recordIdentifies the target session.final recordInstruction sources loaded for the session, in merge order.final recordIdentifies the target session.final recordParameters for interrupting the main agent turn.final recordResult of interrupting the main agent turn.final recordRequest parameters for thesession.limitPrediction.predictRPC method.final recordMessage text, optional severity level, persistence flag, optional follow-up URL, and optional tip.final recordIdentifier of the session event that was emitted for the log message.final recordParameters for (re)loading the merged LSP configuration set.final recordIdentifies the target session.final recordEffective enterprise managed settings and contributing channels.final recordMCP server, tool name, and arguments to invoke from an MCP App view.final recordMCP server to diagnose MCP Apps wiring for.final recordDiagnostic snapshot of MCP Apps wiring for the named server.final recordIdentifies the target session.final recordCurrent host context advertised to MCP App guests.final recordMCP server to list app-callable tools for.final recordApp-callable tools from the named MCP server.final recordMCP server and resource URI to fetch.final recordResource contents returned by the MCP server.final recordHost context to advertise to MCP App guests.final recordThe requestId previously passed to executeSampling that should be cancelled.final recordIndicates whether an in-flight sampling execution with the given requestId was found and cancelled.final recordName of the MCP server to disable for the session.final className of the MCP server to disable for the session.final recordName of the MCP server to enable for the session.final className of the MCP server to enable for the session.final recordIdentifiers and raw MCP CreateMessageRequest params used to run a sampling inference.final recordOutcome of an MCP sampling execution: success result, failure error, or cancellation.final recordMCP headers refresh request id and the host response.final recordIndicates whether the pending MCP headers refresh response was accepted.final recordServer name to check running status for.final recordWhether the named MCP server is running.final recordIdentifies the target session.final recordEffective MCP configuration with optional live observations from matching already materialized servers.final recordIdentifies the target session.final recordMCP servers configured for the session, with their connection status and host-level state.final recordServer name whose tool list should be returned.final recordTools exposed by the connected MCP server.final recordIdentifies the target session.final recordResult of moving in-flight MCP loading to the background.final recordIdentifies the MCP server whose persisted OAuth credentials were updated.final recordTargets only the original prepared/applying owned login on this exact session requester.final recordHonest terminal cancellation result; persistence or recovery failures remain RPC errors.final recordHost-delivered callback for a runtime-managed MCP OAuth login.final recordPending MCP OAuth request ID and host-provided token or cancellation response.final recordIndicates whether the pending MCP OAuth response was accepted.final recordRemote MCP server name and optional overrides controlling reauthentication, OAuth client display name, callback handling, and static OAuth client selection.final classRemote MCP server name and optional overrides controlling reauthentication, OAuth client display name, callback handling, and static OAuth client selection.final recordOAuth authorization URL the caller should open, or empty when cached tokens already authenticated the server.final recordEffect-free preparation bound to the existing local session, requester and installation, with frozen options.final recordAn inert runtime-issued login handle.final recordRemote MCP server name for a passive OAuth status probe.final classRemote MCP server name for a passive OAuth status probe.final recordPending MCP OAuth request id to respond to.final recordIndicates whether the pending MCP OAuth response was accepted.final recordMCP server, prompt name, and optional string-valued arguments.final recordPrompt messages returned by the MCP server without sending them to the model.final recordMCP server whose prompts to enumerate.final recordOne page of prompts advertised by the named MCP server.final recordIdentifies the target session.final recordIdentifies the target session.final recordIndicates whether the auto-managed `github` MCP server was removed (false when nothing to remove).final recordMCP server whose resources to enumerate.final recordOne page of resources advertised by the named MCP server.final recordMCP server whose resource templates to enumerate.final recordOne page of resource templates advertised by the named MCP server.final recordMCP server and resource URI to fetch.final recordResource contents returned by the MCP server.final recordServer name and optional replacement configuration for an individual MCP server restart.final classServer name and optional replacement configuration for an individual MCP server restart.final recordMode controlling how MCP server env values are resolved (`direct` or `indirect`).final recordEnv-value mode recorded on the session after the update.final recordServer name and optional configuration for an individual MCP server start.final classServer name and optional configuration for an individual MCP server start.final recordServer name for an individual MCP server stop.final classServer name for an individual MCP server stop.final recordIdentifies the target session.final recordCurrent activity flags for the session.final recordModel identifier and token limits used to compute the context-info breakdown.final recordToken breakdown for the session's current context window, or null if uninitialized.final recordIdentifies the target session.final recordIdentifies the target session.final recordPer-source attribution breakdown for the session's current context window, or null if uninitialized.final recordParameters for the heaviest-messages query.final recordThe heaviest individual messages in the session's context window, most-expensive first.final recordIdentifies the target session.final recordIndicates whether the local session is currently processing a turn or background continuation.final recordModel identifier to use when re-tokenizing the session's existing messages.final recordRe-tokenize the session's existing messages against `modelId` and return the token totals.final recordUpdated working-directory/git context to record on the session.final recordAbsolute path to set as the session's new working directory.final recordUpdate the session's working directory.final recordIdentifies the target session.final recordPoint-in-time snapshot of slow-changing session identifier and state fieldsfinal recordAtomic patch for client-owned session metadata.final recordIdentifies the target session.final recordIdentifies the target session.final recordThe session's authoritative model snapshot.final recordRequest parameters for thesession.model.listRPC method.final recordThe list of models available to this session.final recordHost-supplied exact model selection IDs to allow for this running session.final recordThe applied host allowlist and effective session model policy after intersection.final recordReasoning effort level to apply to the currently selected model.final recordUpdate the session's reasoning effort without changing the selected model.final recordAn Auto preference request for the session.final recordImmediate acknowledgement and Auto preference snapshot after a switch request.final recordTarget model identifier and optional reasoning effort, summary, capability overrides, and context tier.final classTarget model identifier and optional reasoning effort, summary, capability overrides, and context tier.final recordThe model identifier active on the session after the switch.final recordAgent interaction mode to apply to the session.final recordOutcome of a session mode change, including any model switch it triggered and follow-up the host must perform.final recordIdentifies the target session.final recordThe session's friendly name, or null when not yet set.final recordAuto-generated session summary to apply as the session's name when no user-set name exists.final recordIndicates whether the auto-generated summary was applied as the session's name.final recordNew friendly name to apply to the session.final recordPatch of mutable session options to apply to the running session.final recordIndicates whether the session options patch was applied successfully.final recordPatch of permission policy fields to apply (omit a field to leave it unchanged).final recordIndicates whether the operation succeeded.final recordFolder path to add to trusted folders.final recordIndicates whether the operation succeeded.final recordFolder path to check for trust.final recordFolder trust check result.final recordNo parameters.final recordCurrent permission mode.final recordPending permission request ID and the decision to apply (approve/reject and scope).final recordIndicates whether the permission decision was applied; false when the request was already resolved.final recordLocation-scoped tool approval to persist.final recordIndicates whether the operation succeeded.final recordWorking directory to load persisted location permissions for.final recordSummary of persisted location permissions applied to the session.final recordWorking directory to resolve into a location-permissions key.final recordResolved location-permissions key and type.final recordScope and add/remove instructions for modifying session- or location-scoped permission rules.final recordIndicates whether the operation succeeded.final recordNotification payload describing the permission prompt that the client just rendered.final recordIndicates whether the operation succeeded.final recordDirectory path to add to the session's allowed directories.final recordIndicates whether the operation succeeded.final recordPath to evaluate against the session's allowed directories.final recordIndicates whether the supplied path is within the session's allowed directories.final recordPath to evaluate against the session's workspace (primary) directory.final recordIndicates whether the supplied path is within the session's workspace directory.final recordNo parameters; returns the session's recursive directory grants and exact session-approved paths.final recordSnapshot of the session's recursive directory grants, exact session-approved paths, and primary working directory.final recordDirectory path to set as the session's new primary working directory.final recordIndicates whether the operation succeeded.final recordNo parameters; returns currently-pending permission requests for the session.final recordList of pending permission requests reconstructed from event history.final recordClears session-scoped tool approvals and optionally clears location-scoped approvals and exact session-approved paths.final recordIndicates whether the operation succeeded.final recordAllow-all toggle for tool permission requests, with an optional telemetry source.final recordIndicates whether the operation succeeded.final recordPermission mode to apply for the session.final recordIndicates whether the requested permission mode was applied and reports the authoritative post-mutation mode.final recordToggles whether permission prompts should be bridged into session events for this client.final recordIndicates whether the operation succeeded.final recordWhether the URL-permission policy should run in unrestricted mode.final recordIndicates whether the operation succeeded.final recordIdentifies the target session.final recordIdentifies the target session.final recordExistence, contents, and resolved path of the session plan file.final recordIdentifies the target session.final recordTodo rows read from the session SQL database.final recordIdentifies the target session.final recordTodo rows + dependency edges read from the session SQL database.final recordReplacement contents to write to the session plan file.final recordPlugin names (or specs) to disable in the session's authoritative working directory.final recordPlugin names (or specs) to enable in the session's authoritative working directory.final recordPlugin source resolved relative to the session's authoritative working directory.final recordResult of installing a plugin.final recordIdentifies the target session.final recordPlugins installed for the session, with their enabled state and version metadata.final recordMarketplace source and optional working directory for relative-path resolution.final recordResult of registering a new marketplace.final recordName of the marketplace whose plugin catalog to fetch.final recordPlugins advertised by the marketplace.final recordIdentifies the target session.final recordAll registered marketplaces, including built-in defaults.final recordRequest parameters for thesession.plugins.marketplaces.refreshRPC method.final recordResult of refreshing one or more marketplace catalogs.final recordName of the marketplace to remove and an optional force flag.final recordOutcome of the remove attempt, including dependent-plugin info when applicable.final recordRequest parameters for thesession.plugins.reloadRPC method.final recordRequest parameters for thesession.plugins.retryManagedRPC method.final recordPer-plugin outcomes of retrying the plugins required by the session's managed settings.final recordName (or spec) of the plugin to uninstall.final recordName (or spec) of the plugin to update.final recordResult of updating a single plugin.final recordBYOK providers and/or models to add to the session's registry at runtime.final recordThe selectable model entries synthesized for the models added by this call.final recordRequest parameters for thesession.provider.getEndpointRPC method.final recordA snapshot of the provider endpoint the session is currently configured to talk to.final recordProvider discovery parameters.final recordProvider instances found by a discovery operation.final recordIdentifies the target session.final recordNormalized model-provider adapter definitions available to the session, not discovered instances.final recordProvider status request parameters.final recordCurrent health information for a provider instance.final recordProvider model inventory request parameters.final recordModels offered for agent conversations by one provider instance.final recordA discovered instance and one of its models to translate into provider configuration.final recordProvider configuration prepared from a discovered model.final recordAuthoritative BYOK provider and model registry snapshot to apply atomically to the session.final recordThe selectable model entries and selection ids synthesized for the synchronized BYOK models.final recordHost-managed model selection ids to withdraw from the session's BYOK registry.final recordWhat the withdrawal actually removed from the registry.final recordAppend to one pending steering message without changing its identity or delivery position.final recordResult of editing a queued message.final recordIdentifies the target session.final recordParameters for duplicating a queued item.final recordResult of duplicating a queued item.final recordParameters for inserting a queued message at a public visible position.final recordResult of inserting a queued message.final recordParameters for moving a queued item by stable id.final recordResult of moving a queued item.final recordIdentifies the target session.final recordSnapshot of the session's pending queued items and immediate-steering messages.final recordParameters for removing a queued item by stable id.final recordResult of removing a queued item.final recordIdentifies the target session.final recordIndicates whether a user-facing pending item was removed.final recordParameters for steering a queued message into a live turn.final recordResult of trying to steer a queued message into a live turn.final recordParameters for acquiring or releasing the queued-lane drain pause.final recordParameters for editing a single queued message.final recordResult of editing a queued message.final recordConditional withdrawal of a single user message, from its queue or from the running turn it started.final recordResult of withdrawing a user message.final recordIdentifies the target session.final recordThe incumbent session-owned quota and account projection.final recordIdentifies the target session.final recordThe incumbent session-owned quota and account projection.final recordIdentifies the target session.final recordIdentifies the target session.final recordOptional remote session mode ("off", "export", or "on"); defaults to enabling both export and remote steering.final recordGitHub URL for the session and a flag indicating whether remote steering is enabled.final recordNew remote-steerability state to persist as a `session.remote_steerable_changed` event.final recordRequest to disable sandboxing for the current session while resolving an active sandbox-bypass permission prompt.final recordResult of attempting to disable sandboxing for the current session.final recordIdentifies the target session.final recordManaged sandbox enforcement state for a session.final recordRequest to accept the sandbox path grant offered on an active sandbox escalation permission prompt.final recordResult of accepting a sandbox path grant.final recordSession IDs to close, deactivate, and delete from disk.final recordMap of sessionId -> bytes freed by removing the session's workspace directory.final recordSession IDs to test for live in-use locks.final recordSession IDs from the input set that are currently in use by another process.final recordIdentifies the target session.final recordSnapshot of the currently active recurring prompts for this session.final recordIdentifier of the scheduled prompt to remove.final recordRemove a scheduled prompt by id.final recordSession ID to close.final recordRemote session connection parameters.final recordRemote session connection result.final recordParameters for sending zero or more user messages to the session in a single turn.final recordResult of sending zero or more user messagesfinal recordParameters for sending a user message to the sessionfinal recordResult of sending a user messagefinal recordSession metadata records to enrich with summary and context information.final recordThe enriched metadata records, with summary and context fields backfilled where available.final recordUUID prefix to resolve to a unique session ID.final recordSession ID matching the prefix, omitted when no unique match exists.final recordGitHub task ID to look up.final recordID of the local session bound to the given GitHub task, or omitted when none.final recordSource session identifier to fork from, optional event-ID boundary, and optional friendly name for the new session.final recordIdentifier and optional friendly name assigned to the newly forked session.final recordBounded batch request for client-owned metadata from persisted local sessions.final recordOptional working-directory context used to score session relevance.final recordMost-relevant session ID for the supplied context, or omitted when no sessions exist.final recordWrapper for the singleton's current status.final recordMap of sessionId -> on-disk size in bytes for each session's workspace directory.final recordUser-requested shell execution cancellation handle.final recordCancellation result for a user-requested shell command.final recordShell command to run, with optional working directory and timeout in milliseconds.final recordIdentifier of the spawned shell process, usable with shell.kill while the process is running.final recordUser-requested shell command and cancellation handle.final recordResult of a user-requested shell command.final recordIdentifier of a process previously returned by "shell.exec" and the signal to send.final recordIndicates whether the signal was delivered; false if the process was unknown or already exited.final recordParameters for shutting down the sessionfinal recordName of the skill to disable for the session.final recordName of the skill to enable for the session.final recordIdentifies the target session.final recordIdentifies the target session.final recordSkills invoked during this session, ordered by invocation time (most recent last).final recordIdentifies the target session.final recordSkills available to the session, with their enabled state.final recordIdentifies the target session.final recordDiagnostics from reloading skill definitions, with warnings and errors as separate lists.final recordOptional source filter, metadata-load limit, and context filter applied to the returned sessions.final recordSessions matching the filter, ordered most-recently-modified first.final recordActive session ID whose deferred repo-level hooks should be loaded.final recordQueued repo-level startup prompts and the total hook command count after loading.final recordResult of opening a session.final recordAge threshold and optional flags controlling which old sessions are pruned (or simulated when dryRun is true).final recordOutcome of the prune operation: deleted IDs, dry-run candidates, skipped IDs, total bytes freed, and the dry-run flag.final recordPagination options for reading an inactive or active local session's persisted event journal.final recordBatch of session events returned by a read, with cursor and continuation metadata.final recordSession ID whose in-use lock should be released.final recordActive session ID and an optional flag for deferring repo-level hooks until folder trust.final recordSession ID whose pending events should be flushed to disk.final recordManager-wide additional plugins to register; replaces any previously-configured set.final recordPatch for the singleton's steering state.final recordWrapper for the singleton's current status.final recordParameters for attaching the remote-control singleton to a session.final recordWrapper for the singleton's current status.final recordRequest parameters for thesessions.stopRemoteControlRPC method.final recordOutcome of a stopRemoteControl call.final recordParameters for atomically rebinding the remote-control singleton.final recordOutcome of a transferRemoteControl call.final recordIdentifies the target session.final recordIdentifier of the background task to cancel.final recordIndicates whether the background task was successfully cancelled.final recordIdentifies the target session.final recordThe first sync-waiting task that can currently be promoted to background mode.final recordIdentifier of the background task to fetch progress for.final recordProgress information for the task, or null when no task with that ID is tracked.final recordIdentifies the target session.final recordBackground tasks currently tracked by the session.final recordIdentifies the target session.final recordThe promoted task as it now exists in background mode, omitted if no promotable task was waiting.final recordIdentifier of the task to promote to background mode.final recordIndicates whether the task was successfully promoted to background mode.final recordIdentifies the target session.final recordRegisters or reclaims a client-owned task.final recordResult of registering or reclaiming a client-owned task.final recordIdentifier of the completed or cancelled task to remove from tracking.final recordIndicates whether the task was removed.final recordIdentifier of the target agent task, message content, and optional sender agent ID.final recordIndicates whether the message was delivered, with an error message when delivery failed.final recordAgent type, prompt, name, and optional description and model override for the new task.final recordIdentifier assigned to the newly started background agent task.final recordUpdates a client-owned task.final recordResult of publishing a client-owned task update.final recordIdentifies the target session.final recordIdentifies the target session.final recordTelemetry engagement ID for the session, when available.final recordFeature override key/value pairs to attach to subsequent telemetry events from this session.final recordA tool name and arguments to execute through the session's native invocation pipeline.final recordOptions controlling how Rust-owned built-in tool descriptors are materialized.final recordRust-owned built-in tool descriptors for the session.final recordIdentifies the target session.final recordCurrent lightweight tool metadata snapshot for the session.final recordPending external tool call request ID, with the tool result or an error describing why it failed.final recordIndicates whether the external tool call result was handled successfully.final recordIdentifies the target session.final recordNo parameters; returns the external tool calls of the session and its sub-agents that are still waiting for a result.final recordExternal tool calls still waiting for a result.final recordComplete externally implemented tool list for the calling connection.final recordTask-completion tool arguments and final result used to build a label-safe session event payload.final recordTask completion notification with summary from the agentfinal recordSubagent settings to apply to the current sessionfinal recordPrompt message and JSON schema describing the form fields to elicit from the user.final recordThe elicitation response (accept with form values, decline, or cancel)final recordTransient question to answer without adding it to conversation history.final recordCompleted transient query.final recordRequest ID of a pending `auto_mode_switch.requested` event and the user's response.final recordIndicates whether the pending UI request was resolved by this call.final recordPending elicitation request ID and the user's response (accept/decline/cancel + form values).final recordIndicates whether the elicitation response was accepted; false if it was already resolved by another client.final recordRequest ID of a pending `exit_plan_mode.requested` event and the user's response.final recordIndicates whether the pending UI request was resolved by this call.final recordRequest ID of a pending `sampling.requested` event and an optional sampling result payload (omit to reject).final recordIndicates whether the pending UI request was resolved by this call.final recordRequest ID of a pending `session_limits_exhausted.requested` event and the user's selected limit action.final recordIndicates whether the pending UI request was resolved by this call.final recordRequest ID of a pending `user_input.requested` event and the user's response.final recordIndicates whether the pending UI request was resolved by this call.final recordIdentifies the target session.final recordRegister an in-process handler for `auto_mode_switch.requested` events.final recordOpaque handle previously returned by `registerDirectAutoModeSwitchHandler` to release.final recordIndicates whether the handle was active and the registration count was decremented.final recordIdentifies the target session.final recordAccumulated session usage metrics, including premium request cost, token counts, model breakdown, and code-change totals.final recordIdentifies the target session.final recordCurrent sharing status and shareable GitHub URL for a session.final recordDesired sharing status for the session.final recordEffective sharing status and shareable GitHub URL after updating session visibility.final recordParameters for one workflow-scoped subagent call.final recordResult of one workflow-scoped subagent call.final recordParameters for cancelling a workflow run.final recordComplete current or terminal workflow run envelope.final recordParameters for retrieving a workflow run.final recordFull workflow run observability detail.final recordParameters for retrieving a workflow run.final recordParameters for paging workflow progress.final recordA bidirectional page of workflow progress.final recordComplete current or terminal workflow run envelope.final recordParameters for reading a workflow journal entry.final recordResult of reading a workflow journal entry.final recordParameters for storing a workflow journal entry.final recordParameters for paging workflow runs.final recordA page of workflow runs in durable creation order.final recordParameters for recording workflow progress.final recordParameters for pausing a running workflow.final recordComplete current or terminal workflow run envelope.final recordParameters for resuming a workflow run from its persisted identity.final recordResolved persisted workflow identity and resumed run envelope.final recordParameters for invoking a registered workflow.final recordComplete current or terminal workflow run envelope.final recordCompaction summary checkpoint to persist.final recordPersisted summary metadata and refreshed workspace metadata.final recordIdentifies the target session.final recordWhether the autopilot objective file exists.final recordDirectory to create within the session workspace files directory.final recordRelative path and UTF-8 content for the workspace file to create or overwrite.final recordIdentifies the target session.final recordResult of deleting the autopilot objective file.final recordParameters for computing a workspace diff.final classParameters for computing a workspace diff.final recordWorkspace diff result for the requested mode.final recordOptional session context used when creating a local workspace.final recordCurrent workspace metadata for the session, including its absolute filesystem path when available.final recordIdentifies the target session.final recordCurrent workspace metadata for the session, including its absolute filesystem path when available.final recordIdentifies the target session.final recordWorkspace checkpoints in chronological order; empty when the workspace is not enabled.final recordIdentifies the target session.final recordRelative paths of files stored in the session workspace files directory.final recordIdentifies the target session.final recordAutopilot objective file content, or null when missing.final recordCheckpoint number to read.final recordCheckpoint content as a UTF-8 string, or null when the checkpoint or workspace is missing.final recordRelative path of the workspace file to read.final recordContents of the requested workspace file as a UTF-8 string.final recordFile or directory to remove from the session workspace files directory.final recordSource and destination paths for a rename within the session workspace files directory.final recordPasted content to save as a UTF-8 file in the session workspace.final recordDescriptor for the saved paste file, or null when the workspace is unavailable.final recordRelative path of the workspace file or directory to inspect.final recordFilesystem metadata for a path in the session workspace files directory.final recordRollback point for local workspace summaries.final recordCurrent workspace metadata for the session, including its absolute filesystem path when available.final recordWorkspace metadata fields to update.final recordCurrent workspace metadata for the session, including its absolute filesystem path when available.final recordAutopilot objective file content to persist.final recordResult of writing the autopilot objective file.final recordCommand-scoped GitHub credential injection for the shell commands an agent runs.final recordApplies exactly one retained verified Skill installation plan.final recordOne-use application of the exact retained Skill removal plan.final recordSkill names to mark as disabled in global configuration, replacing any previous list.final recordAdds or removes a single skill from the global disabled list, leaving every other entry untouched.final recordOptional project paths and additional skill directories to include in discovery.final recordSkills discovered across global and project sources.final recordOptional project paths to enumerate.final recordCanonical locations where skills can be created so the runtime will recognize them.final recordExisting-operation control.final recordInventory request under an explicitly selected existing session.final recordInventory request under an explicitly selected existing session.final recordPersisted enablement update for one owned Skill installation.final recordExisting-operation control.final recordSide-effect-free planning of one verified Agent Finder Skill candidate.final recordRead-only preparation of one owned Skill removal under fresh selected-session authority.final recordStructured reason that the task cannot continue without interventionfinal recordRuntime-to-owner cancellation request for a client-owned task.final recordWhether the client authoritatively confirmed its external work stopped.final recordExpanded canonical result returned by a session tool.final recordA message injected by a tool result.enumExecution outcome classification.final recordOptional model identifier whose tool overrides should be applied to the listing.final recordBuilt-in tools available for the requested model, with their parameters and instructions.final recordPer-key metadata for every known user setting in settings.json, including settings left at their default.final recordPartial user settings to write to settings.json.final recordParameters for cooperatively aborting a workflow body.final recordOptions for one workflow-scoped subagent call.final recordPrompt-safe durable identity and live status for a direct workflow agent.final recordCurrent workflow phase identity.final recordDeclared or approved workflow resource ceilings.final recordParameters sent to the owning extension to execute a workflow closure.final recordResult returned by an extension workflow closure.final recordOne ordered workflow progress line.final recordDurable lifecycle and timing for one workflow phase.enumDerived lifecycle state of a workflow phase.final recordOne durable workflow progress record.final recordA bidirectional page of workflow progress.final recordDurable workflow resource consumption.final recordWire-only per-invocation workflow resource ceiling overrides.final recordOptions controlling workflow invocation.final recordDurable workflow run summary with read-time live overlays.final recordPrompt-safe terminal workflow outcome.Methods in com.github.copilot.generated.rpc with annotations of type CopilotExperimentalModifier and TypeMethodDescriptionSessionRpc.abort(SessionAbortParams params) Aborts the current agent turn.SessionHistoryApi.abortManualCompaction()Aborts any in-progress manual compaction on a local session.SessionMetadataApi.activity()Returns a snapshot of activity flags for the session.ServerMcpConfigApi.add(McpConfigAddParams params) Adds an MCP server to user configuration.ServerPluginsMarketplacesApi.add(PluginsMarketplacesAddParams params) Registers a new marketplace from a source (owner/repo, URL, or local path).SessionPermissionsPathsApi.add(SessionPermissionsPathsAddParams params) Adds a directory to the session's allow-list and activates conventional skill and agent definitions under it.SessionPluginsMarketplacesApi.add(SessionPluginsMarketplacesAddParams params) Adds a marketplace when permitted by the live session's retained managed policy.SessionProviderApi.add(SessionProviderAddParams params) Adds BYOK providers and/or models to the session's registry at runtime, extending the additive registry built from the session's `providers`/`models` options.ServerSecretsApi.addFilterValues(SecretsAddFilterValuesParams params) Registers secret values for redaction in session logs and exports.SessionWorkspacesApi.addSummary(SessionWorkspacesAddSummaryParams params) Adds a compaction summary checkpoint to the local session workspace.SessionPermissionsLocationsApi.addToolApproval(SessionPermissionsLocationsAddToolApprovalParams params) Persists a tool approval for a permission location and applies its rules to this session's live permission service.SessionPermissionsFolderTrustApi.addTrusted(SessionPermissionsFolderTrustAddTrustedParams params) Adds a folder to the user's trusted folders list.SessionAccountsLoginApi.advance(SessionAccountsLoginAdvanceParams params) Advance an in-flight login flow, optionally fulfilling an input-required step, and return the next step.SessionWorkflowApi.agent(SessionWorkflowAgentParams params) Runs one dynamic-workflow-scoped subagent and returns its result.SessionQueueApi.appendSteering(SessionQueueAppendSteeringParams params) Atomically appends text and attachments to an unchanged, unconsumed local steering message.SessionPermissionsLocationsApi.apply(SessionPermissionsLocationsApplyParams params) Applies persisted location-scoped tool approvals and allowed directories for a working directory to this session's permission service.ServerMcpApi.applyInstall(McpApplyInstallParams params) Consumes a retained prepared MCP operation once, revalidates its original authority, requests explicit human consent through installations.confirm on the original connection, then revalidates source and applies the sealed transaction.ServerSkillsApi.applyInstall(SkillsApplyInstallParams params) Consumes one verified Skill installation plan, requests explicit human consent through installations.confirm on the original connection, then revalidates and installs the Skill disabled.ServerMcpApi.applyUninstall(McpApplyUninstallParams params) Consumes the original owned-removal plan once and requests fresh exact human confirmation on its original connection.ServerSkillsApi.applyUninstall(SkillsApplyUninstallParams params) Consumes an owned Skill removal plan, requests explicit human consent through installations.confirm, refuses drift, and removes the exact owned files through quarantine.SessionMcpOauthApi.authenticationStateChanged(SessionMcpOauthAuthenticationStateChangedParams params) Notifies the session that MCP OAuth authentication succeeded and updated credentials were persisted, so cached tool definitions can be refreshed.SessionWorkspacesApi.autopilotObjectiveExists()Checks whether the local session workspace has an autopilot objective state file.SessionAccountsLoginApi.begin(SessionAccountsLoginBeginParams params) Begin an interactive login flow for a provider kind (dispatch is kind-only) and return its opaque flow id and first step.ServerPluginsMarketplacesApi.browse(PluginsMarketplacesBrowseParams params) Lists plugins advertised by a registered marketplace.SessionPluginsMarketplacesApi.browse(SessionPluginsMarketplacesBrowseParams params) Browses a marketplace resolved through the live session's working directory and retained managed policy.ServerSessionsApi.bulkDelete(SessionsBulkDeleteParams params) Closes, deactivates, and deletes a set of sessions, returning the bytes freed per session.CompletableFuture<com.fasterxml.jackson.databind.JsonNode> SessionMcpAppsApi.callTool(SessionMcpAppsCallToolParams params) Call an MCP tool from an MCP App view (SEP-1865).ServerMcpInstallationsApi.cancel(McpInstallationsCancelParams params) Requests cancellation of a known operation on its original connection, including before apply or confirmation.ServerSkillsInstallationsApi.cancel(SkillsInstallationsCancelParams params) Requests cancellation of a known Skill installation operation before commit.SessionAccountsLoginApi.cancel(SessionAccountsLoginCancelParams params) Cancel an in-flight login flow and release its resources.SessionTasksApi.cancel(SessionTasksCancelParams params) Cancels a background task.SessionWorkflowApi.cancel(SessionWorkflowCancelParams params) Requests cancellation of a dynamic workflow run and returns its run envelope.SessionRpc.cancelAllBackgroundAgents()Cancels every running background agent (task-registry subagents plus sidekick agents) without interrupting the main agent loop.SessionHistoryApi.cancelBackgroundCompaction()Cancels any in-progress background compaction on a local session.SessionMcpOauthApi.cancelLogin(SessionMcpOauthCancelLoginParams params) Cancels the exact owned OAuth login issued to this original session requester, without clearing shared credentials.SessionMcpApi.cancelSamplingExecution(SessionMcpCancelSamplingExecutionParams params) Cancels an in-flight MCP sampling execution by request ID.SessionShellApi.cancelUserRequested(SessionShellCancelUserRequestedParams params) Cancels a user-requested shell command by request ID.ServerSessionsApi.checkInUse(SessionsCheckInUseParams params) Returns the subset of the supplied session IDs that are currently held by another running process.SessionContentExclusionApi.checkPaths(SessionContentExclusionCheckPathsParams params) Checks local file system absolute paths within the session working directory against its content-exclusion policy.SessionQueueApi.clear()Clears all pending queued items on the local session.ServerManagedSettingsApi.clearCache()Force-refreshes enterprise managed settings for every account: wipes the persistent server-policy cache (the whole `/managed-settings` directory) and drops this runtime process's in-memory retained server policy. SessionHistoryApi.clearContext(SessionHistoryClearContextParams params) Clears the session's conversation history, keeping only system and developer messages, and seeds the fresh context window with a first user message.ServerSessionsApi.close(SessionsCloseParams params) Closes a session: emits shutdown, flushes pending events, releases the in-use lock, and disposes the active session.SessionCanvasApi.close(SessionCanvasCloseParams params) Closes an open canvas instance.SessionDebugApi.collectLogs(SessionDebugCollectLogsParams params) Collects a session debug log bundle into a local archive or staging directory.SessionHistoryApi.compact()Compacts the session history to reduce context usage.SessionHistoryApi.compact(SessionHistoryCompactParams params) Compacts the session history to reduce context usage.SessionMcpOauthApi.complete(SessionMcpOauthCompleteParams params) Completes a runtime-managed MCP OAuth login after the authorization server redirects to a host-managed callback URL.ServerManagedSettingsApi.compose(ManagedSettingsComposeParams params) Merges candidate managed-settings documents for the device, server, and policy-helper channels into the effective settings the runtime would enforce on this host, using the same precedence and composition rules as live resolution, without applying them.SessionDiagnosticsApi.configure(SessionDiagnosticsConfigureParams params) Patches configured session diagnostic sources without restarting their producers.SessionPermissionsApi.configure(SessionPermissionsConfigureParams params) Replaces selected permission policy fields (rules, paths, URLs, exclusions, allow-all flags) on the session.ServerSessionsApi.connect(SessionsConnectParams params) Connects to an existing remote session and exposes it as an SDK session.SessionConnectorsApi.connect(SessionConnectorsConnectParams params) Initiates an idempotent Connector connection request without opening a browser.SessionMetadataApi.contextInfo(SessionMetadataContextInfoParams params) Returns the token breakdown for the session's current context window for a given model.SessionConnectorsApi.continueConnection(SessionConnectorsContinueConnectionParams params) Continues a pending Connector connection with caller-supplied attempt, interval, and deadline bounds.ServerSandboxProxyCaApi.create(SandboxProxyCaCreateParams params) Creates the persistent certificate authority of the sandbox credential proxy if none is stored, without changing OS trust, and returns the path of its public certificate.SessionWorkspacesApi.createDirectory(SessionWorkspacesCreateDirectoryParams params) Creates a directory in the session workspace files directory.SessionWorkspacesApi.createFile(SessionWorkspacesCreateFileParams params) Creates or overwrites a file in the session workspace files directory.ServerEnvironmentsApi.delete(EnvironmentsDeleteParams params) Deletes a user-managed GitHub Mission Control environment.SessionPlanApi.delete()Deletes the session plan file from the workspace.SessionWorkspacesApi.deleteAutopilotObjective()Deletes the autopilot objective state file from the local session workspace.SessionAgentApi.deselect()Clears the selected custom agent and returns the session to the default agent.SessionMcpAppsApi.diagnose(SessionMcpAppsDiagnoseParams params) Diagnose MCP Apps wiring for a specific MCP server.SessionWorkspacesApi.diff(SessionWorkspacesDiffParams params) Computes a diff for the session workspace.SessionWorkspacesApi.diff(SessionWorkspacesDiffRequest request) Computes a diff for the session workspace.ServerExtensionsApi.disable(ExtensionsDisableParams params) Persistently disables extension IDs for future sessions.ServerMcpConfigApi.disable(McpConfigDisableParams params) Disables MCP servers in user configuration for new sessions.ServerPluginsApi.disable(PluginsDisableParams params) Disables installed plugins for new sessions.SessionExtensionsApi.disable(SessionExtensionsDisableParams params) Disables an extension for the session and persists the preference when the session has a settings store.SessionMcpApi.disable(SessionMcpDisableParams params) Disables an MCP server for the session.SessionMcpApi.disable(SessionMcpDisableRequest request) Disables an MCP server for the session.SessionPluginsApi.disable(SessionPluginsDisableParams params) Disables installed plugins when permitted by the live session's retained managed policy.SessionRemoteApi.disable()Disables remote session export and steering.SessionSkillsApi.disable(SessionSkillsDisableParams params) Disables a skill for the session.SessionSandboxApi.disableForSession(SessionSandboxDisableForSessionParams params) Disables sandboxing for the remainder of the current session and approves the referenced pending sandbox-bypass permission request.SessionConnectorsApi.disconnect(SessionConnectorsDisconnectParams params) Disconnects one Connector for the pinned opaque account selection, refreshes the authoritative catalog, and removes its session-owned MCP projection.ServerAgentsApi.discover(AgentsDiscoverParams params) Discovers custom agents across user, project, plugin, and remote sources.ServerExtensionsApi.discover()Discovers user and enabled installed-plugin extensions from persisted Copilot home state, including enablement preferences.ServerHooksApi.discover(HooksDiscoverParams params) Discovers hook actions enabled under server-side discovery settings from user, repository, plugin, and managed-policy sources.ServerInstructionsApi.discover(InstructionsDiscoverParams params) Discovers instruction sources across user, repository, and plugin sources.ServerMcpApi.discover(McpDiscoverParams params) Discovers MCP servers from user, workspace, plugin, and builtin sources.ServerSkillsApi.discover(SkillsDiscoverParams params) Discovers skills across global and project sources.SessionProvidersApi.discover(SessionProvidersDiscoverParams params) Discovers reachable instances using an adapter from this session's effective provider catalog and provider-specific discovery input.ServerHostApi.dispose(HostDisposeParams params) Stops a listener owned by this SDK connection and joins its cleanup without deleting sessions.SessionQueueApi.duplicateAt(SessionQueueDuplicateAtParams params) Duplicates an addressable queued item immediately after its source.SessionUiApi.elicitation(SessionUiElicitationParams params) Requests structured input from a UI-capable client.ServerExtensionsApi.enable(ExtensionsEnableParams params) Persistently enables extension IDs for future sessions.ServerMcpConfigApi.enable(McpConfigEnableParams params) Enables MCP servers in user configuration for new sessions.ServerPluginsApi.enable(PluginsEnableParams params) Enables installed plugins for new sessions.SessionExtensionsApi.enable(SessionExtensionsEnableParams params) Enables an extension for the session and persists the preference when the session has a settings store.SessionMcpApi.enable(SessionMcpEnableParams params) Enables an MCP server for the session.SessionMcpApi.enable(SessionMcpEnableRequest request) Enables an MCP server for the session.SessionPluginsApi.enable(SessionPluginsEnableParams params) Enables installed plugins when permitted by the live session's retained managed policy.SessionRemoteApi.enable(SessionRemoteEnableParams params) Enables remote session export or steering.SessionSkillsApi.enable(SessionSkillsEnableParams params) Enables a skill for the session.SessionCommandsApi.enqueue(SessionCommandsEnqueueParams params) Enqueues a slash command for FIFO processing on the local session.ServerSessionsApi.enrichMetadata(SessionsEnrichMetadataParams params) Backfills missing summary and context fields on the supplied session metadata records.SessionWorkspacesApi.ensure(SessionWorkspacesEnsureParams params) Ensures a local session workspace exists and returns it.SessionSkillsApi.ensureLoaded()Ensures the session's skill definitions have been loaded from disk.SessionAccountsApi.enumerate(SessionAccountsEnumerateParams params) Enumerate a typed accounts collection: the signed-in accounts, or the providers offered for interactive login.SessionUiApi.ephemeralQuery(SessionUiEphemeralQueryParams params) Runs a transient no-tools model query against the current conversation context.SessionShellApi.exec(SessionShellExecParams params) Starts a shell command, returning an RPC error if it cannot be spawned.SessionCommandsApi.execute(SessionCommandsExecuteParams params) Executes a slash command synchronously and returns any error.SessionToolsApi.execute(SessionToolsExecuteParams params) Executes one tool from the session's currently offered tool set through the native invocation pipeline.SessionMcpApi.executeSampling(SessionMcpExecuteSamplingParams params) Runs an MCP sampling inference on behalf of an MCP server.SessionShellApi.executeUserRequested(SessionShellExecuteUserRequestedParams params) Executes a user-requested shell command through the session runtime.ServerSessionsApi.findByPrefix(SessionsFindByPrefixParams params) Resolves a UUID prefix to a unique session ID, if exactly one session matches.ServerSessionsApi.findByTaskId(SessionsFindByTaskIdParams params) Finds the local session bound to a GitHub task ID, if any.ServerSessionsApi.fork(SessionsForkParams params) Creates a new session by forking persisted history from an existing session.ServerEnvironmentsApi.get(EnvironmentsGetParams params) Gets safe discovery information for a GitHub Mission Control environment without requiring a running host.ServerUserSettingsApi.get()Lists every known user setting from settings.json, each with its effective value, its default, and whether it is at the default — so settings the user has never set still appear with their default value.SessionAccountsApi.get(SessionAccountsGetParams params) Read one typed accounts datum: the active account, a neutral status summary, or the last authentication errors.SessionManagedSettingsApi.get()Waits for the live session's in-flight managed-settings application, then returns the retained effective snapshot used by runtime enforcement and by `session.managed_settings_resolved`.SessionMcpPromptsApi.get(SessionMcpPromptsGetParams params) Get a prompt's messages from a connected MCP server (proxies MCP `prompts/get`).SessionModeApi.get()Gets the current agent interaction mode.SessionNameApi.get()Gets the session's friendly name.SessionQuotaApi.get()Gets the session's current quota and account projection without making a network request.SessionVisibilityApi.get()Returns the session's current Mission Control sharing status and shareable GitHub URL.SessionWorkflowJournalApi.get(SessionWorkflowJournalGetParams params) Reads a memoized dynamic workflow journal entry.SessionConnectorsApi.getAccount()Returns the session account selection, or null.ServerConnectorsApi.getAccounts()Returns eligible accounts.ServerAccountApi.getAllUsers()Gets all authenticated users available for account switching.ServerModelsApi.getBuiltInCatalog()Returns the running runtime's complete catalog of well-known built-in model IDs without authentication or network access.SessionToolsApi.getBuiltinDescriptors(SessionToolsGetBuiltinDescriptorsParams params) Returns the Rust-owned built-in tool descriptors used to construct the session's offered tool set.ServerConnectorsApi.getCapabilities()Returns feature availability.SessionConnectorsApi.getCapabilities()Returns feature availability and bounded polling limits for the EXPERIMENTAL session connector API.SessionProvidersApi.getCatalog()Returns adapter definitions and supported operations in this session's effective provider catalog, without running discovery.ServerSessionsApi.getClientMetadata(SessionsGetClientMetadataParams params) Reads client-owned metadata for multiple persisted local sessions without opening them.SessionMetadataApi.getClientMetadata()Returns the client-owned string metadata persisted with this local session.SessionMetadataApi.getContextAttribution()Returns the experimental per-source attribution breakdown of the session's current context window as a flat list of entries (skills, subagents, MCP servers, built-in tools, plugin rollups, system/tool-definition costs, with nesting via parentId), plus the successful compaction count.SessionMetadataApi.getContextHeaviestMessages(SessionMetadataGetContextHeaviestMessagesParams params) Returns the largest individual messages currently in the session's context window, most-expensive first.SessionAgentApi.getCurrent()Gets the currently selected custom agent for the session.SessionModelApi.getCurrent()Gets the session's authoritative model snapshot, including the committed Auto preference and any newer unclaimed Auto preference waiting for a future user turn.ServerAccountApi.getCurrentAuth()Gets the currently active authentication credentials from the global auth manager.SessionToolsApi.getCurrentMetadata()Returns lightweight metadata for the session's currently initialized tools.SessionTasksApi.getCurrentPromotable()Returns the first sync-waiting task that can currently be promoted to background mode.ServerAgentsApi.getDiscoveryPaths(AgentsGetDiscoveryPathsParams params) Returns the canonical directories where a client may create custom agents that the runtime will recognize, including ones that do not exist yet.ServerInstructionsApi.getDiscoveryPaths(InstructionsGetDiscoveryPathsParams params) Returns the canonical files and directories where a client may create custom instructions that the runtime will recognize, including ones that do not exist yet.ServerSkillsApi.getDiscoveryPaths(SkillsGetDiscoveryPathsParams params) Returns the canonical directories where a client may create skills that the runtime will recognize, including ones that do not exist yet.SessionProviderApi.getEndpoint()Returns the provider endpoint and credentials the session is currently configured to talk to, so the caller can make inference calls directly against the same backend the session uses.SessionProviderApi.getEndpoint(SessionProviderGetEndpointParams params) Returns the provider endpoint and credentials the session is currently configured to talk to, so the caller can make inference calls directly against the same backend the session uses.SessionSandboxApi.getEnforcementStatus()Returns whether managed policy requires sandbox enforcement and whether an enforcement failure has permanently blocked the session.SessionTelemetryApi.getEngagementId()Gets the telemetry engagement ID currently associated with the session, when available.SessionMcpAppsApi.getHostContext()Read the current host context advertised to MCP App guests.ServerSandboxApi.getHostSupport()Reports whether the host running this runtime can run the command sandbox, without starting a session or spawning a sandboxed command.SessionSkillsApi.getInvoked()Returns the skills that have been invoked during this session.ServerSessionsApi.getLastForContext(SessionsGetLastForContextParams params) Returns the most-relevant prior session for a given working-directory context.SessionUsageApi.getMetrics()Gets accumulated usage metrics for the session.SessionPermissionsApi.getMode()Returns the current permission mode for the session.SessionTasksApi.getProgress(SessionTasksGetProgressParams params) Returns progress information for a background task by ID.ServerAccountApi.getQuota()Gets Copilot quota usage for the current or opaquely selected authenticated user.ServerAccountApi.getQuota(AccountGetQuotaParams params) Gets Copilot quota usage for the current or opaquely selected authenticated user.ServerSessionsApi.getRemoteControlStatus()Returns the current state of the remote-control singleton, including the attached session id and frontend URL when active.SessionWorkflowApi.getRun(SessionWorkflowGetRunParams params) Gets the current or settled envelope for a dynamic workflow run.SessionWorkflowApi.getRunDetail(SessionWorkflowGetRunDetailParams params) Gets durable and live observability detail for one dynamic workflow run.SessionWorkflowApi.getRunProgress(SessionWorkflowGetRunProgressParams params) Pages durable progress for one dynamic workflow run.ServerSessionsApi.getSizes()Returns the on-disk byte size of each session's workspace directory.SessionInstructionsApi.getSources()Gets instruction sources loaded for the session.SessionAutopilotObjectiveApi.getState()Reads the current canonical autopilot objective state for this session.ServerSandboxProxyCaApi.getStatus(SandboxProxyCaGetStatusParams params) Reports whether the persistent certificate authority of the sandbox credential proxy exists, whether OS trust includes it, and whether it must be rotated.SessionConnectorsApi.getStatus()Returns authoritative session Connector state from current availability, pinned account selection, cached catalog, and live MCP projection without performing a Connector service request.SessionGitHubAuthApi.getStatus()Gets authentication status and account metadata for the session.SessionProvidersApi.getStatus(SessionProvidersGetStatusParams params) Gets current health and version information for a discovered model-provider instance.SessionCompletionsApi.getTriggerCharacters()Gets the characters that should trigger host-driven completions for the session.SessionWorkspacesApi.getWorkspace()Gets current workspace metadata for the session.SessionSandboxApi.grantPathForRequest(SessionSandboxGrantPathForRequestParams params) Adds the path offered by a pending sandbox escalation permission request's sandboxPathGrant to the session's sandbox policy and approves the request, so the blocked operation re-runs inside the sandbox rather than outside it.SessionUiApi.handlePendingAutoModeSwitch(SessionUiHandlePendingAutoModeSwitchParams params) Resolves a pending `auto_mode_switch.requested` event with the user's accept/decline decision.SessionCommandsApi.handlePendingCommand(SessionCommandsHandlePendingCommandParams params) Reports completion of a pending client-handled slash command.SessionUiApi.handlePendingElicitation(SessionUiHandlePendingElicitationParams params) Provides the user response for a pending elicitation request.SessionUiApi.handlePendingExitPlanMode(SessionUiHandlePendingExitPlanModeParams params) Resolves a pending `exit_plan_mode.requested` event with the user's response.SessionMcpHeadersApi.handlePendingHeadersRefreshRequest(SessionMcpHeadersHandlePendingHeadersRefreshRequestParams params) Responds to a pending MCP dynamic headers refresh request.SessionPermissionsApi.handlePendingPermissionRequest(SessionPermissionsHandlePendingPermissionRequestParams params) Provides a decision for a pending tool permission request.SessionMcpOauthApi.handlePendingRequest(SessionMcpOauthHandlePendingRequestParams params) Resolves a pending MCP OAuth request with a host-provided token or cancellation.SessionUiApi.handlePendingSampling(SessionUiHandlePendingSamplingParams params) Resolves a pending `sampling.requested` event with a sampling result, or rejects it.SessionUiApi.handlePendingSessionLimitsExhausted(SessionUiHandlePendingSessionLimitsExhaustedParams params) Resolves a pending `session_limits_exhausted.requested` event with the user's selected limit action.SessionToolsApi.handlePendingToolCall(SessionToolsHandlePendingToolCallParams params) Provides the result for a pending external tool call.SessionUiApi.handlePendingUserInput(SessionUiHandlePendingUserInputParams params) Resolves a pending `user_input.requested` event with the user's response.ServerLlmInferenceApi.httpResponseChunk(LlmInferenceHttpResponseChunkParams params) Delivers a body byte range (or a terminal transport error) for an in-flight response, correlated by requestId.ServerLlmInferenceApi.httpResponseStart(LlmInferenceHttpResponseStartParams params) Delivers the response head (status + headers) for an in-flight request, correlated by the requestId the runtime supplied in httpRequestStart.SessionLspApi.initialize(SessionLspInitializeParams params) Loads the merged LSP configuration set for the session's working directory.SessionToolsApi.initializeAndValidate()Resolves, builds, and validates the runtime tool list for the session.SessionQueueApi.insertAt(SessionQueueInsertAtParams params) Inserts a new queued message at a public visible position.ServerPluginsApi.install(PluginsInstallParams params) Installs a plugin from a marketplace, GitHub repo, URL, or local path.SessionPluginsApi.install(SessionPluginsInstallParams params) Installs a plugin using the live session's authoritative account, working directory, and retained managed policy.SessionRpc.interruptMainTurn(SessionInterruptMainTurnParams params) Interrupts the current main agent turn while leaving running background work (subagents, sidekicks, and promoted attached shells) alive.SessionCanvasActionApi.invoke(SessionCanvasActionInvokeParams params) Invokes an action on an open canvas instance.SessionCommandsApi.invoke(SessionCommandsInvokeParams params) Invokes a slash command in the session.SessionPermissionsPathsApi.isPathWithinAllowedDirectories(SessionPermissionsPathsIsPathWithinAllowedDirectoriesParams params) Reports whether a path falls within any of the session's allowed directories.SessionPermissionsPathsApi.isPathWithinWorkspace(SessionPermissionsPathsIsPathWithinWorkspaceParams params) Reports whether a path falls within the session's workspace (primary) directory.SessionMetadataApi.isProcessing()Reports whether the local session is currently processing user/agent messages.SessionMcpApi.isServerRunning(SessionMcpIsServerRunningParams params) Checks whether a named MCP server is currently running on the session's host.SessionPermissionsFolderTrustApi.isTrusted(SessionPermissionsFolderTrustIsTrustedParams params) Reports whether a folder is trusted according to the user's folder trust state.SessionShellApi.kill(SessionShellKillParams params) Sends a signal to a shell process previously started via "shell.exec".ServerCommandsApi.list()Lists the well-known built-in slash commands that work as the first message in a new session (e.g.ServerConnectorsApi.list(ConnectorsListParams params) Lists entries for the selected account.ServerEnvironmentsApi.list(EnvironmentsListParams params) Lists GitHub Mission Control environments visible to the authenticated identity.ServerMcpConfigApi.list()Lists MCP servers from user configuration.ServerMcpInstallationsApi.list(McpInstallationsListParams params) Reads receipt-owned MCP inventory for the selected account and host without activating servers or reconstructing missing ownership.ServerModelsApi.list()Lists Copilot models available to the authenticated user.ServerModelsApi.list(ModelsListParams params) Lists Copilot models available to the authenticated user.ServerPluginsApi.list()Lists plugins installed in user/global state.ServerPluginsMarketplacesApi.list()Lists all registered marketplaces (defaults + user-added).ServerSessionsApi.list()Lists sessions, optionally filtered by source and working-directory context.ServerSessionsApi.list(SessionsListParams params) Lists sessions, optionally filtered by source and working-directory context.ServerSkillsInstallationsApi.list(SkillsInstallationsListParams params) Lists owned verified Agent Finder Skill installations for the selected existing session.ServerToolsApi.list(ToolsListParams params) Lists built-in tools available for a model.SessionAgentApi.list()Lists agents available to the session.SessionAgentApi.list(SessionAgentListParams params) Lists agents available to the session.SessionCanvasApi.list()Lists canvases declared for the session.SessionCommandsApi.list()Lists slash commands available in the session.SessionCommandsApi.list(SessionCommandsListParams params) Lists slash commands available in the session.SessionConnectorsApi.list(SessionConnectorsListParams params) Returns the cached Connector catalog for the pinned opaque account selection, fetching it only when this session has no cached catalog.SessionExtensionsApi.list()Lists extensions discovered for the session and their current status.SessionMcpApi.list()Lists materialized MCP servers and their connection status.SessionMcpPromptsApi.list(SessionMcpPromptsListParams params) Enumerate one page of prompts a connected MCP server exposes (proxies MCP `prompts/list`).SessionMcpResourcesApi.list(SessionMcpResourcesListParams params) Enumerate one page of resources a connected MCP server exposes (proxies MCP `resources/list`).SessionModelApi.list()Lists models available to this session using its own auth and integration context.SessionModelApi.list(SessionModelListParams params) Lists models available to this session using its own auth and integration context.SessionPermissionsPathsApi.list()Returns the session's recursive directory grants, exact session-approved paths, and primary working directory.SessionPluginsApi.list()Lists globally installed, live, built-in, and enterprise-managed desired plugins using the live session's authoritative account, working directory, and retained managed policy.SessionPluginsMarketplacesApi.list()Lists registered and enterprise-managed desired marketplaces using the live session's retained policy.SessionProvidersModelsApi.list(SessionProvidersModelsListParams params) Lists models installed or otherwise available from a discovered model-provider instance.SessionScheduleApi.list()Lists the session's currently active scheduled prompts.SessionSkillsApi.list()Lists skills available to the session.SessionTasksApi.list()Lists background tasks tracked by the session.SessionWorkspacesApi.listCheckpoints()Lists workspace checkpoints in chronological order.SessionMcpApi.listConfigured()Lists effective MCP configuration without starting, restarting, authenticating, or waiting for servers.SessionWorkspacesApi.listFiles()Lists files stored in the session workspace files directory.SessionCanvasApi.listOpen()Lists currently open canvas instances for the live session.SessionToolsApi.listPendingRequests()Lists the external tool calls of the session and its sub-agents that are still waiting for session.tools.handlePendingToolCall.SessionHistoryApi.listRewindPoints()Lists the user turns that the session can rewind to.SessionWorkflowApi.listRuns(SessionWorkflowListRunsParams params) Lists durable dynamic workflow runs for this session in creation order.ServerHostApi.listSessions(HostListSessionsParams params) Reads the complete advertised live and dormant session catalog of an existing host owned by this connection.SessionMcpResourcesApi.listTemplates(SessionMcpResourcesListTemplatesParams params) Enumerate one page of resource templates a connected MCP server exposes (proxies MCP `resources/templates/list`).SessionMcpApi.listTools(SessionMcpListToolsParams params) Lists the tools exposed by a connected MCP server on this session's host.SessionMcpAppsApi.listTools(SessionMcpAppsListToolsParams params) List tools that an MCP App view is allowed to call (SEP-1865 visibility filter).ServerSessionsApi.loadDeferredRepoHooks(SessionsLoadDeferredRepoHooksParams params) Loads previously-deferred repo-level hooks on the active session, returning queued startup prompts.SessionRpc.log(SessionLogParams params) Emits a user-visible session log event.SessionWorkflowApi.log(SessionWorkflowLogParams params) Records a batch of ordered dynamic workflow progress lines.ServerAccountApi.login(AccountLoginParams params) Validates and stores authentication credentials.SessionMcpOauthApi.login(SessionMcpOauthLoginParams params) Starts OAuth authentication for a remote MCP server.SessionMcpOauthApi.login(SessionMcpOauthLoginRequest request) Starts OAuth authentication for a remote MCP server.ServerAccountApi.logout(AccountLogoutParams params) Removes user authentication from keychain and persisted state.SessionPermissionsApi.modifyRules(SessionPermissionsModifyRulesParams params) Adds or removes session-scoped or location-scoped permission rules.SessionQueueApi.moveItem(SessionQueueMoveItemParams params) Moves an addressable queued item to a public visible position.SessionMcpApi.moveLoadingToBackground()Releases any turns waiting on an in-flight MCP load without cancelling the load, letting the agent proceed while MCP servers finish connecting in the background.SessionPermissionsApi.notifyPromptShown(SessionPermissionsNotifyPromptShownParams params) Notifies the runtime that a permission prompt UI has been shown to the user.SessionRemoteApi.notifySteerableChanged(SessionRemoteNotifySteerableChangedParams params) Persists a remote-steerability change emitted by the host as a session event.ServerSessionsApi.open(SessionsOpenParams params) Creates or resumes a local session and returns the opened session ID.SessionCanvasApi.open(SessionCanvasOpenParams params) Opens or focuses a canvas instance.SessionWorkflowApi.pause(SessionWorkflowPauseParams params) Pauses a running dynamic workflow and returns its settled run envelope.SessionQueueApi.pendingItems()Returns the local session's pending user-facing queued items and steering messages.SessionPermissionsApi.pendingRequests()Reconstructs the set of pending tool permission requests from the session's event history.ServerRpc.ping(PingParams params) Checks server responsiveness and returns protocol information.ServerMcpApi.planInstall(McpPlanInstallParams params) Requests a side-effect-free MCP install plan from a catalog candidate handle or a caller-supplied card.ServerMcpApi.planInstall(McpPlanInstallRequest request) Requests a side-effect-free MCP install plan from a catalog candidate handle or a caller-supplied card.ServerSkillsApi.planInstall(SkillsPlanInstallParams params) Plans installation of a verified Agent Finder Skill candidate without writing files.ServerMcpApi.planUninstall(McpPlanUninstallParams params) Prepares a read-only removal plan for an exact owned receipt under the selected existing session.ServerSkillsApi.planUninstall(SkillsPlanUninstallParams params) Prepares a read-only removal plan for an owned verified Agent Finder Skill installation.SessionLimitPredictionApi.predict()Predicts an AI-credit session limit for the session's resolved model.SessionLimitPredictionApi.predict(SessionLimitPredictionPredictParams params) Predicts an AI-credit session limit for the session's resolved model.SessionProvidersModelsApi.prepareConfiguration(SessionProvidersModelsPrepareConfigurationParams params) Translates a discovered model into the provider and model configuration needed to use it, and reports whether each is already registered in this session.ServerMcpApi.prepareInstall(McpPrepareInstallParams params) Consumes a bound catalogue plan and retains one exact fully resolved personal remote MCP operation requiring no supplied values or configured secrets.SessionMcpOauthApi.prepareLogin(SessionMcpOauthPrepareLoginParams params) Prepares an inert, expiring owned OAuth login bound to the original session requester and exact installation.SessionHistoryApi.previewRewind(SessionHistoryPreviewRewindParams params) Previews the files that a conversation-and-files rewind would restore.SessionMcpOauthApi.probe(SessionMcpOauthProbeParams params) Passively probes a configured remote MCP server to classify whether OAuth is required or a cached/override token is accepted.SessionMcpOauthApi.probe(SessionMcpOauthProbeRequest request) Passively probes a configured remote MCP server to classify whether OAuth is required or a cached/override token is accepted.SessionTasksApi.promoteCurrentToBackground()Atomically promotes the first promotable sync-waiting task to background mode and returns it.SessionTasksApi.promoteToBackground(SessionTasksPromoteToBackgroundParams params) Promotes an eligible synchronously-waited task so it continues running in the background.ServerSessionsApi.pruneOld(SessionsPruneOldParams params) Deletes sessions older than the given threshold, with optional dry-run and exclusion list.ServerHostApi.publishSession(HostPublishSessionParams params) Publishes an attached resident session for this listener's lifetime without copying it.SessionWorkflowJournalApi.put(SessionWorkflowJournalPutParams params) Stores a memoized dynamic workflow journal entry.ServerManagedSettingsApi.read()Discovers device-managed settings from production MDM and managed-file sources, validates them against the runtime-owned managed-settings schema, and returns the canonical JSON without requiring a session.SessionDiagnosticsApi.read(SessionDiagnosticsReadParams params) Reads a bounded batch of retained session diagnostics for the selected sources.SessionEventLogApi.read(SessionEventLogReadParams params) Reads a batch of session events from a cursor, optionally waiting for new events.SessionMcpResourcesApi.read(SessionMcpResourcesReadParams params) Fetch an MCP resource from a connected server by URI (proxies MCP `resources/read`).SessionPlanApi.read()Reads the session plan file from the workspace.SessionWorkspacesApi.readAutopilotObjective()Reads the autopilot objective state file from the local session workspace.SessionWorkspacesApi.readCheckpoint(SessionWorkspacesReadCheckpointParams params) Reads the content of a workspace checkpoint by number.SessionWorkspacesApi.readFile(SessionWorkspacesReadFileParams params) Reads a file from the session workspace files directory.ServerSessionsApi.readPersistedEvents(SessionsReadPersistedEventsParams params) Reads a page of durable events directly from a local session's persisted journal without creating, resuming, or activating the session.SessionMcpAppsApi.readResource(SessionMcpAppsReadResourceParams params) Fetch an MCP resource (typically a `ui://` MCP App bundle, per SEP-1865) from a connected server.SessionPlanApi.readSqlTodos()Reads todo rows from the session SQL database for plan rendering.SessionPlanApi.readSqlTodosWithDependencies()Reads todo rows AND dependency edges from the session SQL database for structured progress UI.SessionMetadataApi.recomputeContextTokens(SessionMetadataRecomputeContextTokensParams params) Re-tokenizes the session's existing messages against a model and returns aggregate token totals.SessionConnectorsApi.reconcile(SessionConnectorsReconcileParams params) Reconciles the authoritative cached or freshly requested Connector catalog into the session Connector MCP projection and returns live status.SessionConnectorsApi.reconcile(SessionConnectorsReconcileRequest request) Reconciles the authoritative cached or freshly requested Connector catalog into the session Connector MCP projection and returns live status.SessionExtensionsApi.reconcile()Host-only reconciliation of authoritative session-effective extension membership and enablement.SessionConnectorsApi.reconnect(SessionConnectorsReconnectParams params) Re-initiates an idempotent Connector connection request without browser or UI effects, with the same typed outcomes as connect.SessionMetadataApi.recordContextChange(SessionMetadataRecordContextChangeParams params) Records a working-directory/git context change and emits a `session.context_changed` event.ServerMcpInstallationsApi.recover(McpInstallationsRecoverParams params) Reconciles already-confirmed durable MCP transactions, then inspects owned inventory.ServerSkillsInstallationsApi.recover(SkillsInstallationsRecoverParams params) Reconciles interrupted owned Skill installation work for the selected existing session, then inspects owned inventory.ServerConnectorsApi.refresh(ConnectorsRefreshParams params) Refreshes entries for the selected account.ServerPluginsMarketplacesApi.refresh()Re-fetches one or all registered marketplace catalogs.ServerPluginsMarketplacesApi.refresh(PluginsMarketplacesRefreshParams params) Re-fetches one or all registered marketplace catalogs.SessionConnectorsApi.refresh(SessionConnectorsRefreshParams params) Refreshes and validates the Connector catalog for the pinned opaque account selection.SessionPluginsMarketplacesApi.refresh()Refreshes marketplaces resolved through the live session's working directory and retained managed policy.SessionPluginsMarketplacesApi.refresh(SessionPluginsMarketplacesRefreshParams params) Refreshes marketplaces resolved through the live session's working directory and retained managed policy.SessionQuotaApi.refresh()Refreshes the session's provider model catalog bypassing its cache, folds quota snapshots into session state, and returns the updated projection.SessionTasksApi.refresh()Refreshes metadata for any detached background shells the runtime knows about.SessionTasksApi.register(SessionTasksRegisterParams params) Registers a client-owned task, or reclaims an orphaned task belonging to the same extension principal.SessionUiApi.registerDirectAutoModeSwitchHandler()Registers an in-process handler for auto-mode-switch requests so the server bridge skips dispatch.ServerRpc.registerExtensionLaunchProvider()Registers the calling SDK client as the per-entrypoint extension launch provider.SessionEventLogApi.registerInterest(SessionEventLogRegisterInterestParams params) Registers consumer interest in an event type for runtime gating purposes.SessionEventLogApi.releaseInterest(SessionEventLogReleaseInterestParams params) Releases a consumer's previously-registered interest in an event type.ServerSessionsApi.releaseLock(SessionsReleaseLockParams params) Releases the in-use lock held by this process for a session.ServerMcpConfigApi.reload()Drops this runtime process's in-memory MCP server-definition cache so the next MCP config read observes disk.SessionAgentApi.reload()Reloads custom agent definitions and returns the refreshed list.SessionCustomizationsApi.reload()For local sessions, reconciles repository context and discovered instructions, plugins, skills, agents, hooks, MCP servers, and extensions after files appear or change under the working directory.SessionExtensionsApi.reload()Reloads extension definitions and processes for the session.SessionInstructionsApi.reload()For local sessions, invalidates instruction discovery and the model-facing prompt, then returns freshly discovered sources.SessionMcpApi.reload()Reloads MCP server connections for the session.SessionPluginsApi.reload()Reloads the session's plugin set, refreshing MCP servers, custom agents, hooks, and skills cache so SDK-driven changes via `server.plugins.*` take effect immediately.SessionPluginsApi.reload(SessionPluginsReloadParams params) Reloads the session's plugin set, refreshing MCP servers, custom agents, hooks, and skills cache so SDK-driven changes via `server.plugins.*` take effect immediately.SessionSkillsApi.reload()Reloads skill definitions for the session.ServerSessionsApi.reloadPluginHooks(SessionsReloadPluginHooksParams params) Reloads user, plugin, and (optionally) repo hooks on the active session.ServerMcpConfigApi.remove(McpConfigRemoveParams params) Removes an MCP server from user configuration.ServerPluginsMarketplacesApi.remove(PluginsMarketplacesRemoveParams params) Removes a previously-registered marketplace.ServerSandboxProxyCaApi.remove()Removes the persistent certificate authority of the sandbox credential proxy from OS trust.SessionPluginsMarketplacesApi.remove(SessionPluginsMarketplacesRemoveParams params) Removes a marketplace when permitted by the live session's retained managed policy.SessionTasksApi.remove(SessionTasksRemoveParams params) Removes a completed or cancelled background task from tracking.SessionQueueApi.removeAt(SessionQueueRemoveAtParams params) Removes an addressable queued item by its stable id.SessionMcpApi.removeGitHub()Removes the auto-managed `github` MCP server when present.SessionQueueApi.removeMostRecent()Removes the most recently queued user-facing item (LIFO).SessionWorkspacesApi.removePath(SessionWorkspacesRemovePathParams params) Removes a file or directory from the session workspace files directory.SessionWorkspacesApi.renamePath(SessionWorkspacesRenamePathParams params) Renames a file or directory within the session workspace files directory.SessionCompletionsApi.request(SessionCompletionsRequestParams params) Requests host-driven completion items for the current composer input.SessionPermissionsApi.resetSessionApprovals(SessionPermissionsResetSessionApprovalsParams params) Clears session-scoped tool approvals and, for full resets, exact session-approved paths.ServerManagedSettingsApi.resolve()Resolves the effective enterprise managed settings without a session, from the device channel and, when an account is available, the account's server policy through the same per-account cache sessions use.ServerManagedSettingsApi.resolve(ManagedSettingsResolveParams params) Resolves the effective enterprise managed settings without a session, from the device channel and, when an account is available, the account's server policy through the same per-account cache sessions use.SessionPermissionsLocationsApi.resolve(SessionPermissionsLocationsResolveParams params) Resolves the permission location key and type for a working directory.SessionMcpOauthApi.respond(SessionMcpOauthRespondParams params) Responds to a pending MCP OAuth authorization request by its request id.SessionCommandsApi.respondToQueuedCommand(SessionCommandsRespondToQueuedCommandParams params) Reports whether the host actually executed a queued command and whether to continue processing.SessionMcpApi.restartServer(SessionMcpRestartServerParams params) Restarts an individual MCP server on the live session (stops then starts).SessionMcpApi.restartServer(SessionMcpRestartServerRequest request) Restarts an individual MCP server on the live session (stops then starts).SessionWorkflowApi.resume(SessionWorkflowResumeParams params) Resumes a dynamic workflow run using its persisted name, arguments, journal, and accounting.SessionPluginsApi.retryManaged()Installs or updates the plugins the session's managed settings require now, without waiting for the next automatic attempt after a failure, then reloads plugins.SessionPluginsApi.retryManaged(SessionPluginsRetryManagedParams params) Installs or updates the plugins the session's managed settings require now, without waiting for the next automatic attempt after a failure, then reloads plugins.SessionHistoryApi.rewind(SessionHistoryRewindParams params) Rewinds the session conversation, optionally restoring files changed by the discarded turns.ServerSandboxProxyCaApi.rotate(SandboxProxyCaRotateParams params) Replaces the persistent certificate authority of the sandbox credential proxy with a new one for the current credential hosts.SessionWorkflowApi.run(SessionWorkflowRunParams params) Runs a registered dynamic workflow by name at the top level.ServerSessionsApi.save(SessionsSaveParams params) Flushes a session's pending events to disk.SessionWorkspacesApi.saveLargePaste(SessionWorkspacesSaveLargePasteParams params) Saves pasted content as a UTF-8 file in the session workspace.ServerManagedSettingsApi.schema()Returns the managed-settings authoring JSON schema with descriptive `x-composition` annotations aligned with the shared settings-engine vocabulary.ServerCatalogApi.search(CatalogSearchParams params) Requests a bounded catalog search.ServerCatalogApi.search(CatalogSearchRequest request) Requests a bounded catalog search.ServerCatalogApi.select(CatalogSelectParams params) Terminates one retained catalog selection group.SessionAgentApi.select(SessionAgentSelectParams params) Selects a custom agent for subsequent turns in the session.SessionRpc.send(SessionSendParams params) Sends a user message to the session and returns its message ID.SessionExtensionsApi.sendAttachmentsToMessage(SessionExtensionsSendAttachmentsToMessageParams params) Push attachments into the next user-message turn from an extension.SessionTasksApi.sendMessage(SessionTasksSendMessageParams params) Sends a message to a background agent task.SessionRpc.sendMessages(SessionSendMessagesParams params) Sends zero or more user messages to the session in a single turn and returns their message IDs.SessionQueueApi.sendNow(SessionQueueSendNowParams params) Moves an addressable queued message into the live turn's steering lane.ServerPluginsBuiltinApi.set(PluginsBuiltinSetParams params) Replaces this server's trusted built-in plugin directories while no sessions are active.ServerUserSettingsApi.set(UserSettingsSetParams params) Writes one or more user settings to settings.json, replacing each provided top-level key.SessionAccountsApi.set(SessionAccountsSetParams params) Apply one non-interactive accounts mutation: switch the active account, log an account out, or set credentials from a token.SessionModeApi.set(SessionModeSetParams params) Sets the current agent interaction mode.SessionNameApi.set(SessionNameSetParams params) Sets the session's friendly name.SessionToolsApi.set(SessionToolsSetParams params) Atomically replaces the complete externally implemented tool list supplied by the calling connection.SessionVisibilityApi.set(SessionVisibilitySetParams params) Sets the session's Mission Control sharing status, controlling whether the synced session is visible to repository readers.ServerSessionsApi.setAdditionalPlugins(SessionsSetAdditionalPluginsParams params) Replaces the manager-wide additional plugins registered with the session manager.SessionModelApi.setAllowedModels(SessionModelSetAllowedModelsParams params) Replaces or clears the host-supplied model allowlist for a running session.SessionPermissionsApi.setApproveAll(SessionPermissionsSetApproveAllParams params) Enables or disables automatic approval of tool permission requests for the session.SessionNameApi.setAuto(SessionNameSetAutoParams params) Persists an auto-generated session summary as the session's name when no user-set name exists.SessionGitHubAuthApi.setCredentials(SessionGitHubAuthSetCredentialsParams params) Updates the session's auth credentials used for outbound model and API requests.ServerSkillsConfigApi.setDisabledSkills(SkillsConfigSetDisabledSkillsParams params) Replaces the global list of disabled skills.SessionQueueApi.setDrainPaused(SessionQueueSetDrainPausedParams params) Acquires or releases the queued-lane drain pause.ServerSkillsInstallationsApi.setEnabled(SkillsInstallationsSetEnabledParams params) Atomically persists enablement for one owned Agent Finder Skill and reconciles the selected bound session.SessionMcpApi.setEnvValueMode(SessionMcpSetEnvValueModeParams params) Sets how environment-variable values supplied to MCP servers are resolved (direct or indirect).SessionTelemetryApi.setFeatureOverrides(SessionTelemetrySetFeatureOverridesParams params) Sets feature override key/value pairs to attach to subsequent telemetry events for the session.SessionMcpAppsApi.setHostContext(SessionMcpAppsSetHostContextParams params) Replace the host context returned to MCP App guests on `ui/initialize`.SessionPermissionsApi.setMode(SessionPermissionsSetModeParams params) Sets the permission mode for the session.SessionAgentApi.setPrompt(SessionAgentSetPromptParams params) Sets an in-memory authored prompt override for an available agent.ServerLlmInferenceApi.setProvider()Registers an SDK client as the LLM inference callback provider.ServerSessionFsApi.setProvider(SessionFsSetProviderParams params) Registers an SDK client as the session filesystem provider.SessionModelApi.setReasoningEffort(SessionModelSetReasoningEffortParams params) Updates the session's reasoning effort without changing the selected model.ServerSessionsApi.setRemoteControlSteering(SessionsSetRemoteControlSteeringParams params) Patches the steering state of the active remote-control singleton.SessionPermissionsApi.setRequired(SessionPermissionsSetRequiredParams params) Sets whether the client wants permission prompts bridged into session events.ServerSkillsConfigApi.setSkillDisabled(SkillsConfigSetSkillDisabledParams params) Atomically adds or removes one skill from the disabled list.SessionPermissionsUrlsApi.setUnrestrictedMode(SessionPermissionsUrlsSetUnrestrictedModeParams params) Toggles the runtime's URL-permission policy between unrestricted and restricted modes.SessionMetadataApi.setWorkingDirectory(SessionMetadataSetWorkingDirectoryParams params) Updates the session's working directory.ServerRuntimeApi.shutdown()Gracefully shuts down an SDK-owned runtime.SessionRpc.shutdown(SessionShutdownParams params) Shuts down the session and persists its final state.SessionMetadataApi.snapshot()Returns a snapshot of the session's identifying metadata, mode, agent, and remote info.ServerAgentRegistryApi.spawn(AgentRegistrySpawnParams params) Spawns a managed-server child with the supplied configuration and returns a discriminated-union result.ServerHostApi.start(HostStartParams params) Starts a connection-owned AHP host with explicit localServer and/or githubEnvironment transports as a supervised SDK participant.ServerHostApi.start(HostStartRequest request) Starts a connection-owned AHP host with explicit localServer and/or githubEnvironment transports as a supervised SDK participant.SessionFleetApi.start(SessionFleetStartParams params) Starts fleet mode by submitting the fleet orchestration prompt to the session.SessionTasksApi.startAgent(SessionTasksStartAgentParams params) Starts a background agent task in the session.ServerSessionsApi.startRemoteControl(SessionsStartRemoteControlParams params) Attaches the runtime-managed remote-control singleton to a session, awaiting initial setup.SessionMcpApi.startServer(SessionMcpStartServerParams params) Starts an individual MCP server on the live session.SessionMcpApi.startServer(SessionMcpStartServerRequest request) Starts an individual MCP server on the live session.SessionWorkspacesApi.statFile(SessionWorkspacesStatFileParams params) Returns metadata for a file or directory in the session workspace files directory.ServerMcpInstallationsApi.status(McpInstallationsStatusParams params) Inspects a known operation only on its original connection.ServerSkillsInstallationsApi.status(SkillsInstallationsStatusParams params) Inspects a known Skill installation operation on its original runtime connection.SessionScheduleApi.stop(SessionScheduleStopParams params) Removes a scheduled prompt by id.ServerSessionsApi.stopRemoteControl()Stops the remote-control singleton.ServerSessionsApi.stopRemoteControl(SessionsStopRemoteControlParams params) Stops the remote-control singleton.SessionMcpApi.stopServer(SessionMcpStopServerParams params) Stops an individual MCP server on the session's host.SessionMcpApi.stopServer(SessionMcpStopServerRequest request) Stops an individual MCP server on the session's host.SessionHistoryApi.summarizeForHandoff()Produces a markdown summary of the session's conversation context for hand-off scenarios.SessionRpc.suspend()Suspends the session while preserving persisted state for later resume.SessionModelApi.switchAutoTier(SessionModelSwitchAutoTierParams params) Requests an Auto preference change without changing the session's selected model.SessionModelApi.switchTo(SessionModelSwitchToParams params) Switches the session to a model and optional reasoning configuration.SessionModelApi.switchTo(SessionModelSwitchToRequest request) Switches the session to a model and optional reasoning configuration.SessionProviderApi.sync(SessionProviderSyncParams params) Atomically updates the session's BYOK provider and model registry by applying the supplied snapshot, replacing existing entries, updating models, or removing entries absent from the snapshot.SessionEventLogApi.tail()Returns a snapshot of the current tail cursor without consuming events.SessionQuotaApi.takeWarnings()Returns and clears the session's pending quota warnings.SessionToolsApi.taskCompleteEventData(SessionToolsTaskCompleteEventDataParams params) Projects a completed task_complete tool call into its label-safe session event payload.ServerSessionsApi.transferRemoteControl(SessionsTransferRemoteControlParams params) Atomically rebinds the remote-control singleton to a different session, preserving the underlying Mission Control connection.SessionHistoryApi.truncate(SessionHistoryTruncateParams params) Truncates persisted session history to a specific event.SessionWorkspacesApi.truncateSummaries(SessionWorkspacesTruncateSummariesParams params) Truncates local workspace compaction summaries after a rollback.ServerSandboxProxyCaApi.trust(SandboxProxyCaTrustParams params) Adds the persistent certificate authority of the sandbox credential proxy to OS trust, so sandboxed clients that read only OS trust accept the proxy.ServerPluginsApi.uninstall(PluginsUninstallParams params) Uninstalls an installed plugin.SessionPluginsApi.uninstall(SessionPluginsUninstallParams params) Uninstalls a plugin when permitted by the live session's retained managed policy.SessionUiApi.unregisterDirectAutoModeSwitchHandler(SessionUiUnregisterDirectAutoModeSwitchHandlerParams params) Unregisters a previously-registered in-process auto-mode-switch handler by its opaque handle.ServerMcpConfigApi.update(McpConfigUpdateParams params) Updates an MCP server in user configuration.ServerPluginsApi.update(PluginsUpdateParams params) Updates an installed plugin to its latest published version.SessionOptionsApi.update(SessionOptionsUpdateParams params) Patches the genuinely-mutable subset of session options.SessionPlanApi.update(SessionPlanUpdateParams params) Writes new content to the session plan file.SessionPluginsApi.update(SessionPluginsUpdateParams params) Updates an installed plugin using the live session's authoritative account, working directory, and retained managed policy.SessionTasksApi.update(SessionTasksUpdateParams params) Publishes generic progress or a terminal outcome for a client-owned task.ServerPluginsApi.updateAll()Updates every installed plugin to its latest published version.SessionMetadataApi.updateClientMetadata(SessionMetadataUpdateClientMetadataParams params) Atomically patches the client-owned string metadata persisted with this local session and returns the committed bag.SessionWorkspacesApi.updateMetadata(SessionWorkspacesUpdateMetadataParams params) Updates workspace metadata for a local session and returns the refreshed workspace.SessionPermissionsPathsApi.updatePrimary(SessionPermissionsPathsUpdatePrimaryParams params) Updates the session's primary working directory used by the permission policy.SessionToolsApi.updateSubagentSettings(SessionToolsUpdateSubagentSettingsParams params) Sets the current session's live subagent settings override, which takes precedence over persisted user settings until cleared.SessionQueueApi.updateText(SessionQueueUpdateTextParams params) Updates the text of an addressable single-message queue item.ServerManagedSettingsApi.validate(ManagedSettingsValidateParams params) Validates a candidate managed-settings document the way the runtime validates delivered policy, without applying it.SessionTasksApi.waitForPending()Waits for all in-flight background tasks and any follow-up turns to settle.SessionProviderApi.withdraw(SessionProviderWithdrawParams params) Withdraws named host-managed models from the session's BYOK registry, leaving every other entry untouched.SessionQueueApi.withdrawMessage(SessionQueueWithdrawMessageParams params) Atomically withdraws an unchanged user message of a local session: from the queued or steering lane while unconsumed, or from the running turn it started while the model has not answered it and nothing the user sent after it is pending.SessionWorkspacesApi.writeAutopilotObjective(SessionWorkspacesWriteAutopilotObjectiveParams params) Writes the autopilot objective state file in the local session workspace. -
Uses of CopilotExperimental in com.github.copilot.rpc
Classes in com.github.copilot.rpc with annotations of type CopilotExperimentalModifier and TypeInterfaceDescriptioninterfaceFunctional interface for supplying per-provider bearer tokens for BYOK provider requests.interfaceResolves launch profiles for extension entrypoints discovered by the runtime.classExperimental. This API may change or be removed in a future release.final classHosts the runtime in-process by loading its native library and communicating over the C ABI — no child process is spawned by the SDK for JSON-RPC transport.final classCancellation signal for one installation confirmation request.interfaceHandles connection-global installation confirmation requests from the runtime.classA named BYOK (Bring Your Own Key) provider connection in the multi-provider registry.classA BYOK (Bring Your Own Key) model definition in the multi-provider registry.classArguments passed to a BYOK bearer-token provider callback.classConfigures how aCopilotClientconnects to the Copilot runtime.final classSpawns a runtime child process and communicates over its stdin/stdout.final classSpawns a runtime child process listening on a TCP socket and connects to it.final classConnects to an already-running runtime at the configured URL.Methods in com.github.copilot.rpc with annotations of type CopilotExperimentalModifier and TypeMethodDescriptionResumeSessionConfig.clearEnableCitations()Clears the enableCitations setting, reverting to the default behavior.SessionConfig.clearEnableCitations()Clears the enableCitations setting, reverting to the default behavior.ResumeSessionConfig.clearSessionLimits()Clears the sessionLimits setting, reverting to the default behavior.SessionConfig.clearSessionLimits()Clears the sessionLimits setting, reverting to the default behavior.Returns a copy with thedefermode set.static InProcessRuntimeConnectionRuntimeConnection.forInProcess()Hosts the runtime in-process by loading its native library and communicating over the C ABI — no child process is spawned by the SDK for JSON-RPC transport.static <T1,T2, R> ToolDefinition ToolDefinition.from(String name, String description, Param<T1> p1, Param<T2> p2, BiFunction<T1, T2, R> handler) Creates a tool definition with a two-argument synchronous handler.static <T1,R> ToolDefinition Creates a tool definition with a one-argument synchronous handler.static <R> ToolDefinitionCreates a tool definition with a zero-argument synchronous handler.static <T1,T2, R> ToolDefinition ToolDefinition.fromAsync(String name, String description, Param<T1> p1, Param<T2> p2, BiFunction<T1, T2, CompletableFuture<R>> handler) Creates a tool definition with a two-argument asynchronous handler.static <T1,R> ToolDefinition ToolDefinition.fromAsync(String name, String description, Param<T1> p1, Function<T1, CompletableFuture<R>> handler) Creates a tool definition with a one-argument asynchronous handler.static <R> ToolDefinitionToolDefinition.fromAsync(String name, String description, Supplier<CompletableFuture<R>> handler) Creates a tool definition with a zero-argument asynchronous handler.static <T1,R> ToolDefinition ToolDefinition.fromAsyncWithToolInvocation(String name, String description, Param<T1> p1, BiFunction<T1, ToolInvocation, CompletableFuture<R>> handler) Creates a tool definition with a one-argument asynchronous handler that also receives theToolInvocationcontext.static <R> ToolDefinitionToolDefinition.fromAsyncWithToolInvocation(String name, String description, Function<ToolInvocation, CompletableFuture<R>> handler) Creates a tool definition with a zero-argument asynchronous handler that receives theToolInvocationcontext.static List<ToolDefinition> Discovers tool definitions from a class with static@CopilotTool-annotated methods.static List<ToolDefinition> ToolDefinition.fromObject(Object instance) Discovers tool definitions from an object whose methods are annotated with@CopilotTool.static <T1,R> ToolDefinition ToolDefinition.fromWithToolInvocation(String name, String description, Param<T1> p1, BiFunction<T1, ToolInvocation, R> handler) Creates a tool definition with a one-argument synchronous handler that also receives theToolInvocationcontext.static <R> ToolDefinitionToolDefinition.fromWithToolInvocation(String name, String description, Function<ToolInvocation, R> handler) Creates a tool definition with a zero-argument synchronous handler that receives theToolInvocationcontext.ToolInvocation.getAgentId()Gets the sub-agent instance that issued this call.SetModelOptions.getAutoTier()Gets the requested Auto routing preference.CopilotClientOptions.getConnection()Gets the connection that selects how the client reaches the Copilot runtime.ResumeSessionConfig.getEnableCitations()Gets whether native model citations are enabled.SessionConfig.getEnableCitations()Gets whether native model citations are enabled.CopilotClientOptions.getExtensionLaunchProvider()Gets the connection-level extension launch profile provider.ResumeSessionConfig.getImageGeneration()Gets the non-persisted image generation opt-in.SessionConfig.getImageGeneration()Gets the non-persisted image generation opt-in.CopilotClientOptions.getInstallationConfirmationHandler()Gets the connection-level installation confirmation handler.CreateSessionRequest.getModels()Gets the BYOK model definitions.ResumeSessionConfig.getModels()Gets the BYOK model definitions.ResumeSessionRequest.getModels()Gets the BYOK model definitions.SessionConfig.getModels()Gets the BYOK model definitions.CopilotClientOptions.getOnGitHubTelemetry()Gets the connection-level GitHub telemetry forwarding handler.CreateSessionRequest.getProviders()Gets the named provider connections.ResumeSessionConfig.getProviders()Gets the named BYOK provider connections.ResumeSessionRequest.getProviders()Gets the named provider connections.SessionConfig.getProviders()Gets the named BYOK provider connections.ToolInvocation.getRequestId()Gets the runtime request id of this call.MessageOptions.getResponseSchema()Gets this run's output schema.ResumeSessionConfig.getSessionLimits()Gets the limits for this session's current accounting window.SessionConfig.getSessionLimits()Gets the limits for this session's current accounting window.ResumeSessionConfig.getSkillProvider()Gets the session-scoped skill provider for the resumed session.SessionConfig.getSkillProvider()Gets the session-scoped skill provider.booleanSetModelOptions.isResetAutoTier()Gets whether the request returns to provider-default Auto routing.ToolDefinition.isTerminal(boolean value) Returns a copy with theisTerminalflag set.Returns a copy with the opaquemetadatabag set.ToolDefinition.overridesBuiltInTool(boolean value) Returns a copy with theoverridesBuiltInToolflag set.ToolInvocation.setAgentId(String agentId) Sets the sub-agent instance that issued this call.SetModelOptions.setAutoTier(AutoTier autoTier) Requests an Auto routing preference alongside the model switch.CopilotClientOptions.setConnection(RuntimeConnection connection) Sets the connection that selects how the client reaches the Copilot runtime.ResumeSessionConfig.setEnableCitations(boolean enableCitations) Enables or disables native model citations for supported providers.SessionConfig.setEnableCitations(boolean enableCitations) Enables or disables native model citations for supported providers.CopilotClientOptions.setExtensionLaunchProvider(ExtensionLaunchProvider extensionLaunchProvider) Sets the connection-level extension launch profile provider.ResumeSessionConfig.setImageGeneration(ImageGenerationConfig imageGeneration) Sets the image generation opt-in.SessionConfig.setImageGeneration(ImageGenerationConfig imageGeneration) Sets the image generation opt-in.CopilotClientOptions.setInstallationConfirmationHandler(InstallationConfirmationHandler installationConfirmationHandler) Sets the connection-level installation confirmation handler.voidCreateSessionRequest.setModels(List<ProviderModelConfig> models) Sets the BYOK model definitions.ResumeSessionConfig.setModels(List<ProviderModelConfig> models) Re-supplies the BYOK model definitions on resume, each referencing a named provider supplied viaResumeSessionConfig.setProviders(List).voidResumeSessionRequest.setModels(List<ProviderModelConfig> models) Sets the BYOK model definitions.SessionConfig.setModels(List<ProviderModelConfig> models) Sets the BYOK model definitions, each referencing a named provider supplied viaSessionConfig.setProviders(List).CopilotClientOptions.setOnGitHubTelemetry(Function<GitHubTelemetryNotification, CompletableFuture<Void>> onGitHubTelemetry) Sets a connection-level handler for GitHub telemetry forwarding (experimental).voidCreateSessionRequest.setProviders(List<NamedProviderConfig> providers) Sets the named provider connections.ResumeSessionConfig.setProviders(List<NamedProviderConfig> providers) Re-supplies the named BYOK provider connections on resume (additive multi-provider registry).voidResumeSessionRequest.setProviders(List<NamedProviderConfig> providers) Sets the named provider connections.SessionConfig.setProviders(List<NamedProviderConfig> providers) Sets the named BYOK provider connections (additive multi-provider registry).ToolInvocation.setRequestId(String requestId) Sets the runtime request id of this call.SetModelOptions.setResetAutoTier(boolean resetAutoTier) Requests a return to the provider's default Auto routing.MessageOptions.setResponseSchema(Map<String, Object> responseSchema) Requests provider-native JSON Schema output for this run.ResumeSessionConfig.setSessionLimits(SessionLimitsConfig sessionLimits) Sets limits for this session's current accounting window.SessionConfig.setSessionLimits(SessionLimitsConfig sessionLimits) Sets limits for this session's current accounting window.ResumeSessionConfig.setSkillProvider(SkillProvider skillProvider) Sets the session-scoped skill provider for the resumed session.SessionConfig.setSkillProvider(SkillProvider skillProvider) Sets the session-scoped skill provider.ToolDefinition.skipPermission(boolean value) Returns a copy with theskipPermissionflag set. -
Uses of CopilotExperimental in com.github.copilot.tool
Classes in com.github.copilot.tool with annotations of type CopilotExperimentalModifier and TypeClassDescriptionclassGenerates response metadata using the existing custom-tool schema generator.@interfaceMarks a method as a Copilot tool.interfaceContract for classes that provideToolDefinitionmetadata for@CopilotTool-annotated methods.@interfaceAnnotates a parameter of aCopilotTool-annotated method to provide metadata about the parameter that is sent to the model.classJSR 269 annotation processor that findsCopilotTool-annotated methods and generates$$CopilotToolMetacompanion classes containing tool definitions, JSON Schema, and invocation lambdas.final classParam<T>Runtime parameter metadata for lambda-defined tools.classCompile-time utility that mapsjavax.lang.modeltypes to JSON Schema represented as Java source code literals (Map.of(...)expressions).