Expand description
Session event payload types — auto-generated from the protocol schema.
Session event payload types — auto-generated from the
session-events.schema.json protocol schema.
This is the stable public access point for the generated event types. The underlying crate-private module where the types are defined is an implementation detail whose layout may change.
Structs§
- Abort
Data - Session event “abort”. Turn abort information including the reason for termination
- Assistant
Idle Data - Session event “assistant.idle”. Payload emitted whenever the main agent’s processing loop goes idle, including while related background work (running agents or in-flight attached shell commands) is still pending and the session-level idle event is therefore deferred
- Assistant
Intent Data - Session event “assistant.intent”. Agent intent description for current activity or plan
- Assistant
Message Data - Session event “assistant.message”. Assistant response containing text content, optional tool requests, and interaction metadata
- Assistant
Message Delta Data - Session event “assistant.message_delta”. Streaming assistant message delta for incremental response updates
- Assistant
Message Server Tools - Neutral provider-tagged server-side tool-use payload (tool search, advisor) for verbatim round-tripping
- Assistant
Message Start Data - Session event “assistant.message_start”. Streaming assistant message start metadata
- Assistant
Message Tool Request - A tool invocation request from the assistant
- Assistant
Reasoning Data - Session event “assistant.reasoning”. Assistant reasoning content for timeline display with complete thinking text
- Assistant
Reasoning Delta Data - Session event “assistant.reasoning_delta”. Streaming reasoning delta for incremental extended thinking updates
- Assistant
Server Tool Progress Data - Session event “assistant.server_tool_progress”. Live progress signal for a provider-hosted server tool (e.g. hosted web search) while it runs, before the finalized serverTools envelope lands on the terminal assistant.message
- Assistant
Streaming Delta Data - Session event “assistant.streaming_delta”. Streaming response progress with cumulative byte count
- Assistant
Tool Call Delta Data - Session event “assistant.tool_call_delta”. Streaming tool-call input delta for incremental tool-call updates
- Assistant
Turn EndData - Session event “assistant.turn_end”. Turn completion metadata including the turn identifier
- Assistant
Turn Start Data - Session event “assistant.turn_start”. Turn initialization metadata including identifier and interaction tracking
- Assistant
Usage Copilot Usage - Per-request cost and usage data from the CAPI copilot_usage response field
- Assistant
Usage Copilot Usage Token Detail - Token usage detail for a single billing category
- Assistant
Usage Data - Session event “assistant.usage”. LLM API call usage metrics including tokens, costs, quotas, and billing information
- Auto
Mode Switch Completed Data - Session event “auto_mode_switch.completed”. Auto mode switch completion notification
- Auto
Mode Switch Requested Data - Session event “auto_mode_switch.requested”. Auto mode switch request notification requiring user approval
- Canvas
Registry Changed Canvas - A single canvas declaration in
session.canvas.registry_changed, including provider IDs, display metadata, input schema, and actions. - Canvas
Registry Changed Canvas Action - A single action within a canvas declaration, with its name, optional description, and optional input schema.
- Capabilities
Changed Data - Session event “capabilities.changed”. Session capability change notification
- Capabilities
ChangedUI - UI capability changes
- Citable
Source - A source supplied by a tool that should be made available to the model as citable content.
- Citation
Reference - A single citation occurrence linking a span of generated text to a supporting source.
- Citation
Source - A source that backs one or more cited spans in the assistant’s response.
- Citation
Span - A contiguous span of generated assistant text and the source references that support it.
- Citations
- Provider-agnostic citations linking spans of the assistant’s response to their supporting sources.
- Command
Completed Data - Session event “command.completed”. Queued command completion notification signaling UI dismissal
- Command
Execute Data - Session event “command.execute”. Registered command dispatch request routed to the owning client
- Command
Queued Data - Session event “command.queued”. Queued slash command dispatch request for client execution
- Commands
Changed Command - A single slash command available in the session, as listed by the
commands.changedevent. - Commands
Changed Data - Session event “commands.changed”. SDK command registration change notification
- Compaction
Complete Compaction Tokens Used - Token usage breakdown for the compaction LLM call (aligned with assistant.usage format)
- Compaction
Complete Compaction Tokens Used Copilot Usage Token Detail - Token usage detail for a single billing category
- Custom
Agents Updated Agent - A single loaded custom agent in
session.custom_agents_updated, with identity, source, tools, invocability, and model override. - Elicitation
Completed Data - Session event “elicitation.completed”. Elicitation request completion with the user’s response
- Elicitation
Requested Data - Session event “elicitation.requested”. Elicitation request; may be form-based (structured input) or URL-based (browser redirect)
- Elicitation
Requested Schema - JSON Schema describing the form fields to present to the user (form mode only)
- Embedded
Blob Resource Contents - Embedded binary resource contents identified by a URI, with an optional MIME type and a base64-encoded blob.
- Embedded
Text Resource Contents - Embedded text resource contents identified by a URI, with an optional MIME type and a text payload.
- Exit
Plan Mode Completed Data - Session event “exit_plan_mode.completed”. Plan mode exit completion with the user’s approval decision and optional feedback
- Exit
Plan Mode Requested Data - Session event “exit_plan_mode.requested”. Plan approval request with plan content and available user actions
- Extensions
Loaded Extension - A single extension discovered by
session.extensions_loaded, including qualified ID, source, and current status. - External
Tool Completed Data - Session event “external_tool.completed”. External tool completion notification signaling UI dismissal
- External
Tool Requested Data - Session event “external_tool.requested”. External tool invocation request for client-side tool execution
- Handoff
Repository - Repository context for the handed-off session
- Header
Entry - Single HTTP header entry as a name/value pair.
- Hook
EndData - Session event “hook.end”. Hook invocation completion details including output, success status, and error information
- Hook
EndError - Error details when the hook failed
- Hook
Progress Data - Session event “hook.progress”. Ephemeral progress update from a running hook process
- Hook
Start Data - Session event “hook.start”. Hook invocation start details including type and input data
- McpApp
Tool Call Complete Data - Session event “mcp_app.tool_call_complete”. MCP App view called a tool on a connected MCP server (SEP-1865)
- McpApp
Tool Call Complete Error - Set when the underlying tools/call threw an error before returning a CallToolResult
- McpApp
Tool Call Complete Tool Meta - The tool’s
_meta.uiblock at the time of the call, so consumers can decide whether to forward the result to the model without re-listing tools. - McpApp
Tool Call Complete Tool MetaUI - MCP App tool
_meta.uiresource URI and SEP-1865 visibility captured with anmcp_app.tool_call_completeresult. - McpHeaders
Refresh Completed Data - Session event “mcp.headers_refresh_completed”. MCP headers refresh request completion notification
- McpHeaders
Refresh Required Data - Session event “mcp.headers_refresh_required”. Dynamic headers refresh request for a remote MCP server
- McpOauth
Completed Data - Session event “mcp.oauth_completed”. MCP OAuth request completion notification
- McpOauth
Http Response - Raw HTTP response details from the OAuth auth challenge, as observed by the runtime.
- McpOauth
Required Data - Session event “mcp.oauth_required”. OAuth authentication request for an MCP server
- McpOauth
Required Static Client Config - Static OAuth client configuration, if the server specifies one
- McpOauthWWW
Authenticate Params - OAuth WWW-Authenticate parameters parsed from an MCP auth challenge
- McpPrompts
List Changed Data - Session event “mcp.prompts.list_changed”. Payload identifying the MCP server associated with a list change.
- McpResources
List Changed Data - Session event “mcp.resources.list_changed”. Payload identifying the MCP server associated with a list change.
- McpServers
Loaded Server - A single MCP server status summary in
session.mcp_servers_loaded, including name, status, source, transport, and plugin metadata. - McpTools
List Changed Data - Session event “mcp.tools.list_changed”. Payload identifying the MCP server associated with a list change.
- Model
Call Failure Data - Session event “model.call_failure”. Failed LLM API call metadata for telemetry
- Model
Call Failure Request Fingerprint - Content-free structural summary of the failing request for diagnosing malformed 4xx calls
- Pending
Messages Modified Data - Session event “pending_messages.modified”. Empty payload; the event signals that the pending message queue has changed
- Permission
Approved - Permission response variant indicating the request was approved without persisting an approval rule.
- Permission
Approved ForLocation - Permission response variant that approves a request and persists the provided approval to a project location key.
- Permission
Approved ForSession - Permission response variant that approves a request and remembers the provided approval for the rest of the session.
- Permission
Auto Approval - Auto-approval judge information attached to a permission request. Present (non-null) only when the session’s allow-all mode is “auto”; its absence means auto mode was off and the judge did not evaluate the request. The
recommendationconveys the judge’s disposition for this request. - Permission
Cancelled - Permission response variant indicating the request was cancelled before use, with an optional reason.
- Permission
Completed Data - Session event “permission.completed”. Permission request completion notification signaling UI dismissal
- Permission
Denied ByContent Exclusion Policy - Permission response variant denying a path under content exclusion policy, with the path and message.
- Permission
Denied ByPermission Request Hook - Permission response variant denied by a permission-request hook, with optional message and interrupt flag.
- Permission
Denied ByRules - Permission response variant denied because matching approval rules explicitly blocked the request.
- Permission
Denied Interactively ByUser - Permission response variant denied in an interactive user prompt, with optional feedback and force-reject flag.
- Permission
Denied NoApproval Rule AndCould NotRequest From User - Permission response variant denied because no approval rule matched and user confirmation was unavailable.
- Permission
Prompt Request Commands - Shell command permission prompt
- Permission
Prompt Request Custom Tool - Custom tool invocation permission prompt
- Permission
Prompt Request Extension Management - Extension management permission prompt
- Permission
Prompt Request Extension Permission Access - Extension permission access prompt
- Permission
Prompt Request Hook - Hook confirmation permission prompt
- Permission
Prompt Request Mcp - MCP tool invocation permission prompt
- Permission
Prompt Request Memory - Memory operation permission prompt
- Permission
Prompt Request Path - Path access permission prompt
- Permission
Prompt Request Read - File read permission prompt
- Permission
Prompt Request Url - URL access permission prompt
- Permission
Prompt Request Write - File write permission prompt
- Permission
Request Custom Tool - Custom tool invocation permission request
- Permission
Request Extension Management - Extension management permission request
- Permission
Request Extension Permission Access - Extension permission access request
- Permission
Request Hook - Hook confirmation permission request
- Permission
Request Mcp - MCP tool invocation permission request
- Permission
Request Memory - Memory operation permission request
- Permission
Request Read - File or directory read permission request
- Permission
Request Shell - Shell command permission request
- Permission
Request Shell Command - A parsed command identifier in a shell permission request, including whether it is read-only.
- Permission
Request Shell Possible Url - A URL that may be accessed by a command in a shell permission request.
- Permission
Request Url - URL access permission request
- Permission
Request Write - File write permission request
- Permission
Requested Data - Session event “permission.requested”. Permission request notification requiring client approval with request details
- Permission
Rule - A permission approval or denial rule matched against a tool request, identified by a rule kind with an optional argument value.
- Sampling
Completed Data - Session event “sampling.completed”. Sampling request completion notification signaling UI dismissal
- Sampling
Requested Data - Session event “sampling.requested”. Sampling request from an MCP server; contains the server name and a requestId for correlation
- Session
Auto Mode Resolved Data - Session event “session.auto_mode_resolved”. Auto Intent resolution: the concrete model the session settled on for the first prompt of an auto-mode session, and why. Lets SDK clients render the chosen model and the full reason it was picked. The core selection fields (chosenModel/reasoningBucket/categoryScores) are stable; the routing-analytics fields (predictedLabel/confidence/candidateModels) mirror the upstream intent service and may evolve, hence the event’s experimental stability.
- Session
Autopilot Objective Changed Data - Session event “session.autopilot_objective_changed”. Autopilot objective state file operation details indicating what changed
- Session
Background Tasks Changed Data - Session event “session.background_tasks_changed”. Empty payload for
session.background_tasks_changed, indicating background task state changed. - Session
Binary Asset Data - Session event “session.binary_asset”. Canonical bytes for a content-addressed binary asset shared by reference across events
- Session
Canvas Closed Data - Session event “session.canvas.closed”. Payload of
session.canvas.closedwith the closed canvas instance ID, provider ID, and canvas ID. - Session
Canvas Opened Data - Session event “session.canvas.opened”. Payload of
session.canvas.openedwith canvas instance and provider IDs plus optional icon, title, status, URL, and input. - Session
Canvas Recorded Data - Session event “session.canvas.recorded”. Durable record that a canvas instance is open, used to restore open canvases on cold session resume. Intentionally omits the transient url and availability.
- Session
Canvas Registry Changed Data - Session event “session.canvas.registry_changed”. Payload of
session.canvas.registry_changedlisting the canvas declarations currently available. - Session
Canvas Removed Data - Session event “session.canvas.removed”. Durable record that a canvas instance was closed, superseding a prior instance_recorded during resume replay.
- Session
Canvas Unavailable Data - Session event “session.canvas.unavailable”. Transient signal that an open canvas instance’s provider has dropped (for example the extension is reloading mid-session). The host should keep the panel mounted and surface a reconnecting affordance rather than tearing it down; a subsequent
session.canvas.openedfor the same instanceId clears the affordance once the provider reconnects with a fresh url. Ephemeral and never persisted, so it is never replayed on cold resume. - Session
Compaction Complete Data - Session event “session.compaction_complete”. Conversation compaction results including success status, metrics, and optional error details
- Session
Compaction Start Data - Session event “session.compaction_start”. Context window breakdown at the start of LLM-powered conversation compaction
- Session
Context Changed Data - Session event “session.context_changed”. Updated working directory and git context after the change
- Session
Custom Agents Updated Data - Session event “session.custom_agents_updated”. Payload of
session.custom_agents_updatedwith loaded custom agents plus non-fatal warnings and fatal errors. - Session
Custom Notification Data - Session event “session.custom_notification”. Opaque custom notification data. Consumers may branch on source and name, but payload semantics are source-defined.
- Session
Error Data - Session event “session.error”. Error details for timeline display including message and optional diagnostic information
- Session
Extensions Attachments Pushed Data - Session event “session.extensions.attachments_pushed”. Payload of
session.extensions.attachments_pushedwith extension-contributed attachments for the next send. - Session
Extensions Loaded Data - Session event “session.extensions_loaded”. Payload of
session.extensions_loadedlisting discovered extensions and their statuses. - Session
Handoff Data - Session event “session.handoff”. Session handoff metadata including source, context, and repository information
- Session
Idle Data - Session event “session.idle”. Payload indicating the session is idle with no background agents or attached shell commands in flight
- Session
Info Data - Session event “session.info”. Informational message for timeline display with categorization
- Session
Limits Config - Optional session limits.
- Session
Limits Exhausted Completed Data - Session event “session_limits_exhausted.completed”. Session limit exhaustion prompt completion notification.
- Session
Limits Exhausted Requested Data - Session event “session_limits_exhausted.requested”. Session limit exhaustion notification requiring user action.
- Session
Limits Exhausted Response - The user’s selected action for an exhausted session limit.
- Session
Managed Settings Resolved Data - Session event “session.managed_settings_resolved”. Enterprise managed-settings resolution: the effective managed settings the session applied and where they came from, so SDK clients can show users what is enterprise-managed and by which authority. Fires whenever managed policy is (re)applied — at session start, on resume, and on account switch. This is an ephemeral live snapshot (delivered to subscribers but not persisted to the session event log), because at session start it resolves before
session.startis emitted; for a session-independent pull, use the SDKgetManagedSettings()API, which returns the identical payload. Managed settings have a single authoritative source, so the highest-authority present layer (server > device) wins wholesale;bypassPermissionsDisabledis deny-wins across layers. Marked experimental while the managed-settings surface stabilizes. - Session
McpServer Status Changed Data - Session event “session.mcp_server_status_changed”. Payload of
session.mcp_server_status_changedfor one MCP server’s status and optional failure error. - Session
McpServers Loaded Data - Session event “session.mcp_servers_loaded”. Payload of
session.mcp_servers_loadedlisting MCP server status summaries. - Session
Mode Changed Data - Session event “session.mode_changed”. Agent mode change details including previous and new modes
- Session
Model Change Data - Session event “session.model_change”. Model change details including previous and new model identifiers
- Session
Permissions Changed Data - Session event “session.permissions_changed”. Permissions change details carrying the aggregate allow-all transition.
- Session
Plan Changed Data - Session event “session.plan_changed”. Plan file operation details indicating what changed
- Session
Remote Steerable Changed Data - Session event “session.remote_steerable_changed”. Notifies that the session’s remote steering capability has changed
- Session
Resume Data - Session event “session.resume”. Session resume metadata including current context and event count
- Session
Schedule Cancelled Data - Session event “session.schedule_cancelled”. Scheduled prompt cancelled from the schedule manager dialog
- Session
Schedule Created Data - Session event “session.schedule_created”. Scheduled prompt registered via /every or /after
- Session
Schedule Rearmed Data - Session event “session.schedule_rearmed”. Self-paced schedule re-armed for its next run
- Session
Session Limits Changed Data - Session event “session.session_limits_changed”. Session limits update details. Null clears the limits.
- Session
Shutdown Data - Session event “session.shutdown”. Session termination metrics including usage statistics, code changes, and shutdown reason
- Session
Skills Loaded Data - Session event “session.skills_loaded”. Payload of
session.skills_loadedlisting resolved skill metadata. - Session
Snapshot Rewind Data - Session event “session.snapshot_rewind”. Session rewind details including target event and count of removed events
- Session
Start Data - Session event “session.start”. Session initialization metadata including context and configuration
- Session
Task Complete Data - Session event “session.task_complete”. Task completion notification with summary from the agent
- Session
Title Changed Data - Session event “session.title_changed”. Session title change payload containing the new display title
- Session
Todos Changed Data - Session event “session.todos_changed”. Signal-only event: the agent’s todos or todo_deps table was written to. No payload — clients should call session.plan.readSqlTodosWithDependencies() to fetch the current state. Events arrive in order; clients can debounce on arrival if needed.
- Session
Tools Updated Data - Session event “session.tools_updated”. Payload of
session.tools_updatedidentifying the model whose resolved tools were updated. - Session
Truncation Data - Session event “session.truncation”. Conversation truncation statistics including token counts and removed content metrics
- Session
Usage Checkpoint Data - Session event “session.usage_checkpoint”. Durable session usage checkpoint for reconstructing aggregate accounting on resume
- Session
Usage Info Data - Session event “session.usage_info”. Current context window usage statistics including token and message counts
- Session
Warning Data - Session event “session.warning”. Warning message for timeline display with categorization
- Session
Workspace File Changed Data - Session event “session.workspace_file_changed”. Workspace file change details including path and operation type
- Shutdown
Code Changes - Aggregate code change metrics for the session
- Shutdown
Model Metric - Per-model shutdown metrics with request counts, token usage, nano-AI units, and token details.
- Shutdown
Model Metric Requests - Request count and cost metrics
- Shutdown
Model Metric Token Detail - A token-type entry in a shutdown model metric, storing the accumulated token count.
- Shutdown
Model Metric Usage - Token usage breakdown
- Shutdown
Token Detail - A session-wide shutdown token-type entry storing the accumulated token count.
- Skill
Invoked Data - Session event “skill.invoked”. Skill invocation details including content, allowed tools, and plugin metadata
- Skills
Loaded Skill - A single resolved skill in
session.skills_loaded, including source, invocability, enabled state, path, and argument hint. - Subagent
Completed Data - Session event “subagent.completed”. Sub-agent completion details for successful execution
- Subagent
Deselected Data - Session event “subagent.deselected”. Empty payload; the event signals that the custom agent was deselected, returning to the default agent
- Subagent
Failed Data - Session event “subagent.failed”. Sub-agent failure details including error message and agent information
- Subagent
Selected Data - Session event “subagent.selected”. Custom agent selection details including name and available tools
- Subagent
Started Data - Session event “subagent.started”. Sub-agent startup details including parent tool call and agent information
- System
Message Data - Session event “system.message”. System/developer instruction content with role and optional template metadata
- System
Message Metadata - Metadata about the prompt template and its construction
- System
Notification Data - Session event “system.notification”. System-generated notification for runtime events like background task completion
- Tool
Execution Complete Content Audio - Audio content block with base64-encoded data
- Tool
Execution Complete Content Image - Image content block with base64-encoded data
- Tool
Execution Complete Content Resource - Embedded resource content block with inline text or binary data
- Tool
Execution Complete Content Resource Link - Resource link content block referencing an external resource
- Tool
Execution Complete Content Resource Link Icon - Icon image for a resource
- Tool
Execution Complete Content Shell Exit - Shell command exit metadata with optional output preview
- Tool
Execution Complete Content Text - Plain text content block
- Tool
Execution Complete Data - Session event “tool.execution_complete”. Tool execution completion results including success status, detailed output, and error information
- Tool
Execution Complete Error - Error details when the tool execution failed
- Tool
Execution Complete Result - Tool execution result on success
- Tool
Execution Complete Tool Description - Tool definition metadata, present for MCP tools with MCP Apps support
- Tool
Execution Complete Tool Description Meta - MCP Apps metadata for UI resource association
- Tool
Execution Complete Tool Description MetaUI - MCP Apps tool
_meta.uiresource URI and visibility captured ontool.execution_complete. - Tool
Execution CompleteUI Resource - MCP Apps UI resource content for rendering in a sandboxed iframe
- Tool
Execution CompleteUI Resource Meta - Resource-level UI metadata (CSP, permissions, visual preferences)
- Tool
Execution CompleteUI Resource MetaUI - MCP Apps UI resource metadata for a completed tool result, including CSP, permissions, domain, and border preference.
- Tool
Execution CompleteUI Resource MetaUI Csp - CSP domain allowlists for an MCP Apps UI resource, including connect, resource, frame, and base URI domains.
- Tool
Execution CompleteUI Resource MetaUI Permissions - Browser permission metadata for an MCP Apps UI resource, including camera, microphone, geolocation, and clipboard-write.
- Tool
Execution CompleteUI Resource MetaUI Permissions Camera - Marker object for camera permission on an MCP Apps UI resource.
- Tool
Execution CompleteUI Resource MetaUI Permissions Clipboard Write - Marker object for clipboard-write permission on an MCP Apps UI resource.
- Tool
Execution CompleteUI Resource MetaUI Permissions Geolocation - Marker object for geolocation permission on an MCP Apps UI resource.
- Tool
Execution CompleteUI Resource MetaUI Permissions Microphone - Marker object for microphone permission on an MCP Apps UI resource.
- Tool
Execution Partial Result Data - Session event “tool.execution_partial_result”. Streaming tool execution output for incremental result display
- Tool
Execution Progress Data - Session event “tool.execution_progress”. Tool execution progress notification with status message
- Tool
Execution Start Data - Session event “tool.execution_start”. Tool execution startup details including MCP server information when applicable
- Tool
Execution Start Shell Tool Info - Shell-aware path hints for a shell tool’s command, captured at start time so consumers can snapshot a file’s pre-image before the tool runs.
- Tool
Execution Start Tool Description - Tool definition metadata, present for MCP tools with MCP Apps support
- Tool
Execution Start Tool Description Meta - MCP Apps metadata for UI resource association
- Tool
Execution Start Tool Description MetaUI - MCP Apps tool
_meta.uiresource URI and visibility captured ontool.execution_start. - Tool
User Requested Data - Session event “tool.user_requested”. User-initiated tool invocation request with tool name and arguments
- Typed
Session Event - A session event with typed data payload.
- User
Input Completed Data - Session event “user_input.completed”. User input request completion with the user’s response
- User
Input Requested Data - Session event “user_input.requested”. User input request notification with question and optional predefined choices
- User
Message Data - Session event “user.message”. Payload of
user.messagewith displayed and model-transformed content, attachments, source/delivery metadata, mode, and telemetry IDs. - User
Tool Session Approval Commands - Session-scoped tool-approval rule for specific shell command identifiers.
- User
Tool Session Approval Custom Tool - Session-scoped tool-approval rule for a custom tool, keyed by tool name.
- User
Tool Session Approval Extension Management - Session-scoped tool-approval rule for extension-management operations, optionally narrowed by operation.
- User
Tool Session Approval Extension Permission Access - Session-scoped tool-approval rule for an extension’s permission-gated capability access, keyed by extension name.
- User
Tool Session Approval Mcp - Session-scoped tool-approval rule for an MCP server tool, or all tools on the server when
toolNameis null. - User
Tool Session Approval Memory - Session-scoped tool-approval rule for writes to long-term memory.
- User
Tool Session Approval Read - Session-scoped tool-approval rule for read-only filesystem operations.
- User
Tool Session Approval Write - Session-scoped tool-approval rule for filesystem write operations.
- Working
Directory Context - Working directory and git context at session start
Enums§
- Abort
Reason - Finite reason code describing why the current turn was aborted
- Assistant
Message Tool Request Type - Tool call type: “function” for standard tool calls, “custom” for grammar-based tool calls. Defaults to “function” when absent.
- Assistant
Usage ApiEndpoint - API endpoint used for this model call, matching CAPI supported_endpoints vocabulary
- Auto
Approval Recommendation - Outcome of the auto-approval safety judge for a permission request. Present only when auto mode is enabled; its absence means the judge did not evaluate the request (auto mode was off).
- Auto
Mode Resolved Reasoning Bucket - Coarse request-difficulty bucket for UX explainability
- Auto
Mode Switch Response - The user’s auto-mode-switch choice
- Autopilot
Objective Changed Operation - The type of operation performed on the autopilot objective state file
- Autopilot
Objective Changed Status - Current autopilot objective status, if one exists
- Binary
Asset Type - Binary asset type discriminator. Use “image” for images and “resource” otherwise.
- Citation
Provider - The system that produced a citation.
- Context
Tier - Allowed values for the
ContextTierenumeration. - Elicitation
Completed Action - The user action: “accept” (submitted form), “decline” (explicitly refused), or “cancel” (dismissed)
- Elicitation
Requested Mode - Elicitation mode; “form” for structured input, “url” for browser-based. Defaults to “form” when absent.
- Elicitation
Requested Schema Type - Schema type indicator (always ‘object’)
- Exit
Plan Mode Action - Exit plan mode action
- Extensions
Loaded Extension Source - Discovery source
- Extensions
Loaded Extension Status - Current status: running, disabled, failed, or starting
- Handoff
Source Type - Origin type of the session being handed off
- Managed
Settings Resolved Source - Which channel supplied the effective enterprise managed settings (highest-authority present layer wins wholesale)
- McpHeaders
Refresh Completed Outcome - How the pending MCP headers refresh request resolved.
- McpHeaders
Refresh Required Reason - Why dynamic headers are being requested.
- McpOauth
Completion Outcome - How the pending MCP OAuth request was completed
- McpOauth
Request Reason - Reason the runtime is requesting host-provided MCP OAuth credentials
- McpOauth
Required Static Client Config Grant Type - Optional non-default OAuth grant type. When set to ‘client_credentials’, the OAuth flow runs headlessly using the client_id + keychain-stored secret (no browser, no callback server).
- McpServer
Source - Configuration source: user, workspace, plugin, or builtin
- McpServer
Status - Connection status: connected, failed, needs-auth, pending, disabled, or not_configured
- McpServer
Transport - Transport mechanism: stdio, http, sse (deprecated), or memory (in-process MCP server)
- Model
Call Failure BadRequest Kind - For HTTP 400 failures only: whether the response carried a structured CAPI error envelope (structured_error, a deterministic validation failure) or no error body (bodyless, the transient gateway/proxy signature). Absent for non-400 failures.
- Model
Call Failure Source - Where the failed model call originated
- Permission
Allow AllMode - Allow-all mode for the session.
- Permission
Approved ForLocation Kind - Approved and persisted for this project location
- Permission
Approved ForSession Kind - Approved and remembered for the rest of the session
- Permission
Approved Kind - The permission request was approved
- Permission
Cancelled Kind - The permission request was cancelled before a response was used
- Permission
Denied ByContent Exclusion Policy Kind - Denied by the organization’s content exclusion policy
- Permission
Denied ByPermission Request Hook Kind - Denied by a permission request hook registered by an extension or plugin
- Permission
Denied ByRules Kind - Denied because approval rules explicitly blocked it
- Permission
Denied Interactively ByUser Kind - Denied by the user during an interactive prompt
- Permission
Denied NoApproval Rule AndCould NotRequest From User Kind - Denied because no approval rule matched and user confirmation was unavailable
- Permission
Prompt Request - Derived user-facing permission prompt details for UI consumers
- Permission
Prompt Request Commands Kind - Prompt kind discriminator
- Permission
Prompt Request Custom Tool Kind - Prompt kind discriminator
- Permission
Prompt Request Extension Management Kind - Prompt kind discriminator
- Permission
Prompt Request Extension Permission Access Kind - Prompt kind discriminator
- Permission
Prompt Request Hook Kind - Prompt kind discriminator
- Permission
Prompt Request McpKind - Prompt kind discriminator
- Permission
Prompt Request Memory Kind - Prompt kind discriminator
- Permission
Prompt Request Path Access Kind - Underlying permission kind that needs path approval
- Permission
Prompt Request Path Kind - Prompt kind discriminator
- Permission
Prompt Request Read Kind - Prompt kind discriminator
- Permission
Prompt Request UrlKind - Prompt kind discriminator
- Permission
Prompt Request Write Kind - Prompt kind discriminator
- Permission
Request - Details of the permission being requested
- Permission
Request Custom Tool Kind - Permission kind discriminator
- Permission
Request Extension Management Kind - Permission kind discriminator
- Permission
Request Extension Permission Access Kind - Permission kind discriminator
- Permission
Request Hook Kind - Permission kind discriminator
- Permission
Request McpKind - Permission kind discriminator
- Permission
Request Memory Action - Whether this is a store or vote memory operation
- Permission
Request Memory Direction - Vote direction (vote only)
- Permission
Request Memory Kind - Permission kind discriminator
- Permission
Request Read Kind - Permission kind discriminator
- Permission
Request Shell Kind - Permission kind discriminator
- Permission
Request UrlKind - Permission kind discriminator
- Permission
Request Write Kind - Permission kind discriminator
- Permission
Result - The result of the permission request
- Plan
Changed Operation - The type of operation performed on the plan file
- Reasoning
Summary - Reasoning summary mode used for model calls, if applicable (e.g. “none”, “concise”, “detailed”)
- Session
Event Data - Typed session event data, discriminated by the event
typefield. - Session
Event Type - Identifies the kind of session event.
- Session
Limits Exhausted Response Action - User action selected for an exhausted session limit.
- Session
Mode - The session mode the agent is operating in
- Shutdown
Type - Whether the session ended normally (“routine”) or due to a crash/fatal error (“error”)
- Skill
Invoked Trigger - What triggered the skill invocation:
user-invoked(explicit user action, such as via a slash command or UI affordance),agent-invoked(agent requested the skill), orcontext-load(loaded as part of another context, such as preloading skills configured on a custom agent or subagent) - Skill
Source - Source location type (e.g., project, personal-copilot, plugin, builtin)
- System
Message Role - Message role: “system” for system prompts, “developer” for developer-injected instructions
- Tool
Execution Complete Content - A content block within a tool result, which may be text, terminal output, image, audio, or a resource
- Tool
Execution Complete Content Audio Type - Content block type discriminator
- Tool
Execution Complete Content Image Type - Content block type discriminator
- Tool
Execution Complete Content Resource Details - The embedded resource contents, either text or base64-encoded binary
- Tool
Execution Complete Content Resource Link Icon Theme - Theme variant this icon is intended for
- Tool
Execution Complete Content Resource Link Type - Content block type discriminator
- Tool
Execution Complete Content Resource Type - Content block type discriminator
- Tool
Execution Complete Content Shell Exit Type - Content block type discriminator
- Tool
Execution Complete Content Terminal Type - Content block type discriminator
- Tool
Execution Complete Content Text Type - Content block type discriminator
- Tool
Execution Complete Tool Description MetaUI Visibility - Allowed values for the
ToolExecutionCompleteToolDescriptionMetaUIVisibilityenumeration. - Tool
Execution Start Tool Description MetaUI Visibility - Allowed values for the
ToolExecutionStartToolDescriptionMetaUIVisibilityenumeration. - User
Message Agent Mode - The agent mode that was active when this message was sent
- User
Message Delivery - How this user message was delivered to the agentic loop, relative to whether the loop was already running. This is the timing axis only; the message’s origin (human vs. system/command/schedule/skill/etc.) is carried separately by
source. A system-injected message has a delivery too — e.g. a background-task notification waking an idle agent isidle, the same mechanism as a human starting a fresh turn. - User
Tool Session Approval - The approval to add as a session-scoped rule
- User
Tool Session Approval Commands Kind - Command approval kind
- User
Tool Session Approval Custom Tool Kind - Custom tool approval kind
- User
Tool Session Approval Extension Management Kind - Extension management approval kind
- User
Tool Session Approval Extension Permission Access Kind - Extension permission access approval kind
- User
Tool Session Approval McpKind - MCP tool approval kind
- User
Tool Session Approval Memory Kind - Memory approval kind
- User
Tool Session Approval Read Kind - Read approval kind
- User
Tool Session Approval Write Kind - Write approval kind
- Verbosity
- Output verbosity level used for supported model calls (e.g. “low”, “medium”, “high”)
- Working
Directory Context Host Type - Hosting platform type of the repository (github or ado)
- Workspace
File Changed Operation - Whether the file was newly created or updated