AnnotatedObject
Sub classes¶
| Name | Children | Inherits |
|---|---|---|
| Request aclientp.schema.base Base request model. |
||
| Response aclientp.schema.base Base request model. |
||
| PlanEntry aclientp.schema.agent_plan A single entry in the execution plan. |
||
| PlanItems aclientp.schema.agent_plan **UNSTABLE**: A plan made of structured entries. |
||
| PlanMarkdown aclientp.schema.agent_plan **UNSTABLE**: A plan made of raw markdown content. |
||
| EnvVariable aclientp.schema.common An environment variable to set when launching an MCP server. |
||
| Implementation aclientp.schema.common Describes the name and version of an ACP implementation. |
||
| AuthMethodAgent aclientp.schema.common Agent handles authentication itself. |
||
| AuthMethodTerminal aclientp.schema.common Terminal authentication method. |
||
| AuthAccount aclientp.schema.common **UNSTABLE**: An account the agent has configured, for display. |
||
| EnumOption aclientp.schema.elicitation A titled enum option with a const value, human-readable title and optional description. |
||
| StringPropertySchema aclientp.schema.elicitation Schema for string properties in an elicitation form. |
||
| NumberPropertySchema aclientp.schema.elicitation Schema for number (floating-point) properties in an elicitation form. |
||
| IntegerPropertySchema aclientp.schema.elicitation Schema for integer properties in an elicitation form. |
||
| BooleanPropertySchema aclientp.schema.elicitation Schema for boolean properties in an elicitation form. |
||
| UntitledMultiSelectItems aclientp.schema.elicitation Items definition for untitled multi-select enum properties. |
||
| TitledMultiSelectItems aclientp.schema.elicitation Items definition for titled multi-select enum properties. |
||
| MultiSelectPropertySchema aclientp.schema.elicitation Schema for multi-select (array) properties in an elicitation form. |
||
| ElicitationSchema aclientp.schema.elicitation Type-safe elicitation schema for requesting structured user input. |
||
| ElicitationFormCapabilities aclientp.schema.elicitation Form-based elicitation capabilities. |
||
| ElicitationUrlCapabilities aclientp.schema.elicitation URL-based elicitation capabilities. |
||
| ElicitationCapabilities aclientp.schema.elicitation Elicitation capabilities supported by the client. |
||
| ElicitationCompleteNotification aclientp.schema.elicitation Notification sent by the agent when a URL-based elicitation is complete. |
||
| HttpHeader aclientp.schema.mcp An HTTP header to set when making requests to the MCP server. |
||
| BaseMcpServer aclientp.schema.mcp MCP server base class. |
||
| MessageMcpNotification aclientp.schema.mcp **UNSTABLE**: An inner MCP notification tied to an active inner MCP request. |
||
| BaseResourceContents aclientp.schema.content_blocks Text-based resource contents. |
||
| Annotations aclientp.schema.content_blocks Optional annotations for the client. |
||
| BaseContentBlock aclientp.schema.content_blocks Base content block. |
||
| ToolCallUpdate aclientp.schema.tool_call Details about the tool call requiring permission. |
||
| FileEditToolCallContent aclientp.schema.tool_call File modification shown as a diff. |
||
| TerminalToolCallContent aclientp.schema.tool_call Embed a terminal created with `terminal/create` by its id. |
||
| ContentToolCallContent aclientp.schema.tool_call Standard content block (text, images, resources). |
||
| ToolCallLocation aclientp.schema.tool_call A file location being accessed or modified by a tool. |
||
| AllowedOutcome aclientp.schema.tool_call The user selected one of the provided options. |
||
| PermissionOption aclientp.schema.tool_call An option presented to the user when requesting permission. |
||
| SessionReferenceToolCallContent aclientp.schema.tool_call **UNSTABLE**: Reference to another session, e.g. a subagent spawned by this tool call. |
||
| FileSystemCapabilities aclientp.schema.capabilities File system capabilities that a client may support. |
||
| AuthCapabilities aclientp.schema.capabilities Authentication capabilities supported by the client. |
||
| SessionCursorsCapabilities aclientp.schema.capabilities **UNSTABLE**: Client support for ``cursor_update`` session updates. |
||
| CompactionCapabilities aclientp.schema.capabilities Client support for ID-addressed context compaction updates. |
||
| NoticeCapabilities aclientp.schema.capabilities Client support for presenting live ``notice`` session updates to the user. |
||
| BooleanConfigOptionCapabilities aclientp.schema.capabilities Capabilities for boolean session configuration options. |
||
| SessionConfigOptionsCapabilities aclientp.schema.capabilities Session configuration option capabilities supported by the client. |
||
| PromptSuggestionsImageCapabilities aclientp.schema.capabilities **UNSTABLE**: Prompt suggestions may include ``image`` content blocks. |
||
| PromptSuggestionsAudioCapabilities aclientp.schema.capabilities **UNSTABLE**: Prompt suggestions may include ``audio`` content blocks. |
||
| PromptSuggestionsEmbeddedContextCapabilities aclientp.schema.capabilities **UNSTABLE**: Prompt suggestions may include ``resource`` content blocks. |
||
| PromptSuggestionsCapabilities aclientp.schema.capabilities **UNSTABLE**: Client support for ``prompt_suggestions_update`` session updates. |
||
| ClientSessionCapabilities aclientp.schema.capabilities Session-related capabilities supported by the client. |
||
| SubagentCapabilities aclientp.schema.capabilities **UNSTABLE**: Client support for ``subagent_update`` session updates. |
||
| PlanCapabilities aclientp.schema.capabilities **UNSTABLE**: Client support for ID-addressed ``plan_update`` / ``plan_removed`` updates. |
||
| ClientCapabilities aclientp.schema.capabilities Capabilities supported by the client. |
||
| PromptCapabilities aclientp.schema.capabilities Prompt capabilities supported by the agent in `session/prompt` requests. |
||
| McpCapabilities aclientp.schema.capabilities MCP capabilities supported by the agent. |
||
| SessionListCapabilities aclientp.schema.capabilities Capabilities for the `session/list` method. |
||
| SessionDeleteCapabilities aclientp.schema.capabilities Capabilities for the ``session/delete`` method. |
||
| SessionAdditionalDirectoriesCapabilities aclientp.schema.capabilities Support for ``additionalDirectories`` on session lifecycle requests. |
||
| SessionSystemPromptOverrideCapabilities aclientp.schema.capabilities Support for the ``override`` system prompt mode. |
||
| SessionSystemPromptModeCapabilities aclientp.schema.capabilities System prompt delivery modes the agent supports in addition to ``append``. |
||
| SessionSystemPromptCapabilities aclientp.schema.capabilities Capabilities for client-provided system prompts. |
||
| SessionArchiveCapabilities aclientp.schema.capabilities **UNSTABLE**: Support for ``session/archive`` and ``session/unarchive``. |
||
| SessionStatusCapabilities aclientp.schema.capabilities **UNSTABLE**: Support for ``session/status``. |
||
| SessionOptionsCapabilities aclientp.schema.capabilities **UNSTABLE**: Support for ``session/options``. |
||
| SessionTitleCapabilities aclientp.schema.capabilities **UNSTABLE**: Support for ``session/set_title``. |
||
| SessionCancelCapabilities aclientp.schema.capabilities **UNSTABLE**: Permits the client to cancel a subagent's current work. |
||
| SubagentSessionCapabilities aclientp.schema.capabilities **UNSTABLE**: Capabilities of a subagent session. |
||
| SessionForkCapabilities aclientp.schema.capabilities Capabilities for the `session/fork` method. |
||
| SessionResumeCapabilities aclientp.schema.capabilities Capabilities for the `session/resume` method. |
||
| SessionCloseCapabilities aclientp.schema.capabilities Capabilities for the `session/close` method. |
||
| SessionCapabilities aclientp.schema.capabilities Session capabilities supported by the agent. |
||
| LogoutCapabilities aclientp.schema.capabilities Logout capabilities supported by the agent. |
||
| AuthStatusCapabilities aclientp.schema.capabilities **UNSTABLE**: Support for ``auth/status`` and ``auth/status_update``. |
||
| AgentAuthCapabilities aclientp.schema.capabilities Authentication-related capabilities supported by the agent. |
||
| ProvidersCapabilities aclientp.schema.capabilities **UNSTABLE**: Support for ``providers/list``, ``providers/set`` and ``providers/disable``. |
||
| AgentCapabilities aclientp.schema.capabilities Capabilities supported by the agent. |
||
| SessionConfigSelectOption aclientp.schema.config_options A possible value for a configuration selector. |
||
| SessionConfigSelectGroup aclientp.schema.config_options A group of possible values for a configuration selector. |
||
| BaseSessionConfigOption aclientp.schema.config_options Base fields shared by all session config option variants. |
||
| SessionConfigOptionValueBoolean aclientp.schema.config_options A boolean value for setting a config option (type: "boolean"). |
||
| SessionConfigOptionValueId aclientp.schema.config_options A SessionConfigValueId string value for setting a config option. |
||
| InitialSessionConfigOption aclientp.schema.config_options **UNSTABLE**: A config option value to apply when a session is set up. |
||
| ProviderCurrentConfig aclientp.schema.providers Current effective non-secret routing config of a provider. |
||
| ProviderInfo aclientp.schema.providers A configurable provider with its current routing info, suitable for UI display. |
||
| SessionMode aclientp.schema.session_state A mode the agent can operate in. |
||
| SessionModeState aclientp.schema.session_state The set of modes and the one currently active. |
||
| SessionInfo aclientp.schema.session_state Information about a session returned by session/list. |
||
| CursorMessageAnchor aclientp.schema.cursors **UNSTABLE**: A cursor anchored to a message; ``type`` names the kind of message. |
||
| ToolCallCursorAnchor aclientp.schema.cursors **UNSTABLE**: The cursor is next to a tool call. |
||
| CompactionCursorAnchor aclientp.schema.cursors **UNSTABLE**: The cursor is next to a context compaction. |
||
| UnknownCursorAnchor aclientp.schema.cursors **UNSTABLE**: A cursor anchored to a custom or future kind of entity. |
||
| CursorForkCapabilities aclientp.schema.cursors **UNSTABLE**: The cursor can be passed to ``session/fork`` as ``cursorId``. |
||
| CursorCapabilities aclientp.schema.cursors **UNSTABLE**: The methods that currently accept a cursor. |
||
| CommandInputHint aclientp.schema.slash_commands All text that was typed after the command name is provided as input. |
||
| AvailableCommand aclientp.schema.slash_commands Information about a command. |
||
| BaseChunk aclientp.schema.session_updates Base class for all session update chunks. |
||
| ToolCallProgress aclientp.schema.session_updates Update on the status or results of a tool call. |
||
| CurrentModeUpdate aclientp.schema.session_updates The current mode of the session has changed. |
||
| AgentPlanUpdate aclientp.schema.session_updates The agent's execution plan for complex tasks. |
||
| AvailableCommandsUpdate aclientp.schema.session_updates Available commands are ready or have changed. |
||
| ConfigOptionUpdate aclientp.schema.session_updates A session configuration option value has changed. |
||
| ToolCallStart aclientp.schema.session_updates Notification that a new tool call has been initiated. |
||
| Cost aclientp.schema.session_updates Cost information for a session. |
||
| Usage aclientp.schema.session_updates **UNSTABLE**: Token usage information for a prompt turn. |
||
| UsageUpdate aclientp.schema.session_updates Context window and cost update for a session. |
||
| SessionInfoUpdate aclientp.schema.session_updates Incremental update to session metadata. |
||
| Notice aclientp.schema.session_updates Fire-and-forget information for the user. |
||
| CompactionUpdate aclientp.schema.session_updates A context compaction upsert. |
||
| CompactionSummaryChunk aclientp.schema.session_updates A content block appended to a compaction's summary. |
||
| PlanUpdate aclientp.schema.session_updates **UNSTABLE**: Create or replace an ID-addressed plan. |
||
| PlanRemoved aclientp.schema.session_updates **UNSTABLE**: Remove an ID-addressed plan. |
||
| PromptSuggestion aclientp.schema.session_updates **UNSTABLE**: A prompt the client can offer to the user. |
||
| PromptSuggestionsUpdate aclientp.schema.session_updates **UNSTABLE**: Suggested next prompts, replacing any previous suggestions. |
||
| RunningStateUpdate aclientp.schema.session_updates **UNSTABLE**: Foreground work is in progress. |
||
| IdleStateUpdate aclientp.schema.session_updates **UNSTABLE**: The child is ready to process another prompt. |
||
| RequiresActionStateUpdate aclientp.schema.session_updates **UNSTABLE**: Foreground work is blocked on user action. |
||
| UnknownStateUpdate aclientp.schema.session_updates **UNSTABLE**: The Agent cannot currently determine foreground activity. |
||
| SubagentUpdate aclientp.schema.session_updates **UNSTABLE**: A subagent session started by the parent, or a change to it. |
||
| SessionMessage aclientp.schema.session_updates **UNSTABLE**: A message exchanged between sessions (e.g. parent and subagent). |
||
| SessionMessageChunk aclientp.schema.session_updates **UNSTABLE**: A content block appended to a ``session_message``. |
||
| CursorUpdate aclientp.schema.session_updates **UNSTABLE**: A session cursor was announced or its capabilities changed. |
||
| SystemPrompt aclientp.schema.client_requests Client-provided system-level instructions for a session. |
||
| TerminalExitStatus aclientp.schema.terminal Exit status of a terminal command. |
||
| SessionNotification aclientp.schema.notifications Notification containing a session update from the agent. |
||
| CancelNotification aclientp.schema.notifications Notification to cancel ongoing operations for a session. |
||
| CancelRequestNotification aclientp.schema.notifications Notification to cancel an ongoing request (``$/cancel_request``). |
||
| AuthStatusUpdateNotification aclientp.schema.notifications **UNSTABLE**: The agent's authentication state changed (``auth/status_update``). |
||
| ExtNotification aclientp.schema.notifications Extension notification from client or agent. |
||
| ProxySuccessorRequest aclientp.schema.proxy A request wrapped for delivery to the proxy's successor. |
||
| ProxySuccessorNotification aclientp.schema.proxy A notification wrapped for delivery to the proxy's successor. |
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| Schema aclientp.schema.base Base class for generated models. |
⋔ Inheritance diagram¶
graph TD
95970862258240["base.AnnotatedObject"]
95970862254416["base.Schema"]
95970851503232["main.BaseModel"]
125067848591872["builtins.object"]
95970862254416 --> 95970862258240
95970851503232 --> 95970862254416
125067848591872 --> 95970851503232