Selected publisher definitions, with snapshot hashes and scope limits. These excerpts are not standalone validators.
A2A AgentCard · 1.0.1
AgentCard definition only; referenced definitions and validation prose remain normative; lines 361–398.
Primary source- Revision:
- v1.0.1
- Observed:
- 2026-11-12
- Snapshot SHA-256:
- dcba0d7c82659643ceb55d0220a6f6ec5d44aff7ac0393abe92a5344cee2d686
- License:
- Apache-2.0; source attribution retained.
- Selected definitions and field inventory, not a standalone validator. Resolve referenced types in the canonical source.
- Protobuf spelling uses snake_case; the field inventory uses the published JSON camelCase representation.
message AgentCard {
// A human readable name for the agent.
// Example: "Recipe Agent"
string name = 1 [(google.api.field_behavior) = REQUIRED];
// A human-readable description of the agent, assisting users and other agents
// in understanding its purpose.
// Example: "Agent that helps users with recipes and cooking."
string description = 2 [(google.api.field_behavior) = REQUIRED];
// Ordered list of supported interfaces. The first entry is preferred.
repeated AgentInterface supported_interfaces = 3 [(google.api.field_behavior) = REQUIRED];
// The service provider of the agent.
AgentProvider provider = 4;
// The version of the agent.
// Example: "1.0.0"
string version = 5 [(google.api.field_behavior) = REQUIRED];
// A URL providing additional documentation about the agent.
optional string documentation_url = 6;
// A2A Capability set supported by the agent.
AgentCapabilities capabilities = 7 [(google.api.field_behavior) = REQUIRED];
// The security scheme details used for authenticating with this agent.
map<string, SecurityScheme> security_schemes = 8;
// Security requirements for contacting the agent.
repeated SecurityRequirement security_requirements = 9;
// protolint:enable REPEATED_FIELD_NAMES_PLURALIZED
// The set of interaction modes that the agent supports across all skills.
// This can be overridden per skill. Defined as media types.
repeated string default_input_modes = 10 [(google.api.field_behavior) = REQUIRED];
// The media types supported as outputs from this agent.
repeated string default_output_modes = 11 [(google.api.field_behavior) = REQUIRED];
// Skills represent the abilities of an agent.
// It is largely a descriptive concept but represents a more focused set of behaviors that the
// agent is likely to succeed at.
repeated AgentSkill skills = 12 [(google.api.field_behavior) = REQUIRED];
// JSON Web Signatures computed for this `AgentCard`.
repeated AgentCardSignature signatures = 13;
// Optional. A URL to an icon for the agent.
optional string icon_url = 14;
}
A2A Artifact · 1.0.1
Artifact definition only; referenced definitions and validation prose remain normative; lines 280–293.
Primary source- Revision:
- v1.0.1
- Observed:
- 2026-11-12
- Snapshot SHA-256:
- 141bb56b47ea62171d2ac73d07a02ede149e8d945a418810cedc4f726ce4f873
- License:
- Apache-2.0; source attribution retained.
- Selected definitions and field inventory, not a standalone validator. Resolve referenced types in the canonical source.
- Protobuf spelling uses snake_case; the field inventory uses the published JSON camelCase representation.
message Artifact {
// Unique identifier (e.g. UUID) for the artifact. It must be unique within a task.
string artifact_id = 1 [(google.api.field_behavior) = REQUIRED];
// A human readable name for the artifact.
string name = 2;
// Optional. A human readable description of the artifact.
string description = 3;
// The content of the artifact. Must contain at least one part.
repeated Part parts = 4 [(google.api.field_behavior) = REQUIRED];
// Optional. Metadata included with the artifact.
google.protobuf.Struct metadata = 5;
// The URIs of extensions that are present or contributed to this Artifact.
repeated string extensions = 6;
}
A2A Message · 1.0.1
Message definition only; referenced definitions and validation prose remain normative; lines 260–277.
Primary source- Revision:
- v1.0.1
- Observed:
- 2026-11-12
- Snapshot SHA-256:
- b6e4a420ecbbebfe903b3d91d87234bcb753caa454356a226bd00e01dc417f51
- License:
- Apache-2.0; source attribution retained.
- Selected definitions and field inventory, not a standalone validator. Resolve referenced types in the canonical source.
- Protobuf spelling uses snake_case; the field inventory uses the published JSON camelCase representation.
message Message {
// The unique identifier (e.g. UUID) of the message. This is created by the message creator.
string message_id = 1 [(google.api.field_behavior) = REQUIRED];
// Optional. The context id of the message. If set, the message will be associated with the given context.
string context_id = 2;
// Optional. The task id of the message. If set, the message will be associated with the given task.
string task_id = 3;
// Identifies the sender of the message.
Role role = 4 [(google.api.field_behavior) = REQUIRED];
// Parts is the container of the message content.
repeated Part parts = 5 [(google.api.field_behavior) = REQUIRED];
// Optional. Any metadata to provide along with the message.
google.protobuf.Struct metadata = 6;
// The URIs of extensions that are present or contributed to this Message.
repeated string extensions = 7;
// A list of task IDs that this message references for additional context.
repeated string reference_task_ids = 8;
}
A2A Part · 1.0.1
Part definition only; referenced definitions and validation prose remain normative; lines 224–242.
Primary source- Revision:
- v1.0.1
- Observed:
- 2026-11-12
- Snapshot SHA-256:
- eb360d7482979194a627525da03bbb85567cc7e24bd49aa448c26e46b8eda727
- License:
- Apache-2.0; source attribution retained.
- Selected definitions and field inventory, not a standalone validator. Resolve referenced types in the canonical source.
- Protobuf spelling uses snake_case; the field inventory uses the published JSON camelCase representation.
message Part {
oneof content {
// The string content of the `text` part.
string text = 1;
// The `raw` byte content of a file. In JSON serialization, this is encoded as a base64 string.
bytes raw = 2;
// A `url` pointing to the file's content.
string url = 3;
// Arbitrary structured `data` as a JSON value (object, array, string, number, boolean, or null).
google.protobuf.Value data = 4;
}
// Optional. metadata associated with this part.
google.protobuf.Struct metadata = 5;
// An optional `filename` for the file (e.g., "document.pdf").
string filename = 6;
// The `media_type` (MIME type) of the part content (e.g., "text/plain", "application/json", "image/png").
// This field is available for all part types.
string media_type = 7;
}
A2A Task · 1.0.1
Task definition only; referenced definitions and validation prose remain normative; lines 167–184.
Primary source- Revision:
- v1.0.1
- Observed:
- 2026-11-12
- Snapshot SHA-256:
- 6f960a229167c9f82ad3a8b97433ddd692f344e123454b68ac33f0b44fa2c272
- License:
- Apache-2.0; source attribution retained.
- Selected definitions and field inventory, not a standalone validator. Resolve referenced types in the canonical source.
- Protobuf spelling uses snake_case; the field inventory uses the published JSON camelCase representation.
message Task {
// Unique identifier (e.g. UUID) for the task, generated by the server for a
// new task.
string id = 1 [(google.api.field_behavior) = REQUIRED];
// Unique identifier (e.g. UUID) for the contextual collection of interactions
// (tasks and messages).
string context_id = 2;
// The current status of a `Task`, including `state` and a `message`.
TaskStatus status = 3 [(google.api.field_behavior) = REQUIRED];
// A set of output artifacts for a `Task`.
repeated Artifact artifacts = 4;
// protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
// The history of interactions from a `Task`.
repeated Message history = 5;
// protolint:enable REPEATED_FIELD_NAMES_PLURALIZED
// A key/value object to store custom metadata about a task.
google.protobuf.Struct metadata = 6;
}
Model Context Protocol · CallToolRequest · 2026-07-28
Exact selected JSON definition at /$defs/CallToolRequest; formatting normalized. JSON Schema 2020-12.
Primary source- Revision:
- schema/2026-07-28; observed snapshot
- Observed:
- 2026-11-12
- Snapshot SHA-256:
- 1cfeabc21d7e04049d0e0d1407670934821f190b4210d197529343b3f0f65d2d
- License:
- Apache-2.0; original project source.
- Selected definition, not a standalone validator. Resolve references against the complete source.
- Every request includes params._meta with protocolVersion and clientCapabilities. clientInfo is SHOULD, not schema-required.
- CallToolResult includes resultType; content remains required; structuredContent can be any JSON value, not only an object.
- ListToolsResult includes cacheScope and ttlMs. A tool list may depend on request authorization.
- InputRequiredResult is a separate response variant. A retry uses inputResponses, echoed requestState where provided, and a fresh JSON-RPC id.
- InputRequiredResult prose requires at least one of inputRequests/requestState, although the generated JSON Schema only marks resultType required; preserve this extra prose constraint.
{
"description": "Used by the client to invoke a tool provided by the server.",
"properties": {
"id": {
"$ref": "#/$defs/RequestId"
},
"jsonrpc": {
"const": "2.0",
"type": "string"
},
"method": {
"const": "tools/call",
"type": "string"
},
"params": {
"$ref": "#/$defs/CallToolRequestParams"
}
},
"required": [
"id",
"jsonrpc",
"method",
"params"
],
"type": "object"
}
Model Context Protocol · CallToolRequestParams · 2026-07-28
Exact selected JSON definition at /$defs/CallToolRequestParams; formatting normalized. JSON Schema 2020-12.
Primary source- Revision:
- schema/2026-07-28; observed snapshot
- Observed:
- 2026-11-12
- Snapshot SHA-256:
- 46f5d4199110ad951bb9d3082dc3409007dad7dead168476a751395ee427e549
- License:
- Apache-2.0; original project source.
- Selected definition, not a standalone validator. Resolve references against the complete source.
- Every request includes params._meta with protocolVersion and clientCapabilities. clientInfo is SHOULD, not schema-required.
- CallToolResult includes resultType; content remains required; structuredContent can be any JSON value, not only an object.
- ListToolsResult includes cacheScope and ttlMs. A tool list may depend on request authorization.
- InputRequiredResult is a separate response variant. A retry uses inputResponses, echoed requestState where provided, and a fresh JSON-RPC id.
- InputRequiredResult prose requires at least one of inputRequests/requestState, although the generated JSON Schema only marks resultType required; preserve this extra prose constraint.
{
"description": "Parameters for a `tools/call` request.",
"properties": {
"_meta": {
"$ref": "#/$defs/RequestMetaObject"
},
"arguments": {
"additionalProperties": {},
"description": "Arguments to use for the tool call.",
"type": "object"
},
"inputResponses": {
"$ref": "#/$defs/InputResponses"
},
"name": {
"description": "The name of the tool.",
"type": "string"
},
"requestState": {
"type": "string"
}
},
"required": [
"_meta",
"name"
],
"type": "object"
}
Model Context Protocol · CallToolResult · 2026-07-28
Exact selected JSON definition at /$defs/CallToolResult; formatting normalized. JSON Schema 2020-12.
Primary source- Revision:
- schema/2026-07-28; observed snapshot
- Observed:
- 2026-11-12
- Snapshot SHA-256:
- c8ca58237e0acb7aaddf9e468b33024cba15ebcbebcf4d7dc7823864db8676a5
- License:
- Apache-2.0; original project source.
- Selected definition, not a standalone validator. Resolve references against the complete source.
- Every request includes params._meta with protocolVersion and clientCapabilities. clientInfo is SHOULD, not schema-required.
- CallToolResult includes resultType; content remains required; structuredContent can be any JSON value, not only an object.
- ListToolsResult includes cacheScope and ttlMs. A tool list may depend on request authorization.
- InputRequiredResult is a separate response variant. A retry uses inputResponses, echoed requestState where provided, and a fresh JSON-RPC id.
- InputRequiredResult prose requires at least one of inputRequests/requestState, although the generated JSON Schema only marks resultType required; preserve this extra prose constraint.
{
"description": "The result returned by the server for a {@link CallToolRequesttools/call} request.",
"properties": {
"_meta": {
"$ref": "#/$defs/ResultMetaObject"
},
"content": {
"description": "A list of content objects that represent the unstructured result of the tool call.",
"items": {
"$ref": "#/$defs/ContentBlock"
},
"type": "array"
},
"isError": {
"description": "Whether the tool call ended in an error.\n\nIf not set, this is assumed to be false (the call was successful).\n\nAny errors that originate from the tool SHOULD be reported inside the result\nobject, with `isError` set to true, _not_ as an MCP protocol-level error\nresponse. Otherwise, the LLM would not be able to see that an error occurred\nand self-correct.\n\nHowever, any errors in _finding_ the tool, an error indicating that the\nserver does not support tool calls, or any other exceptional conditions,\nshould be reported as an MCP error response.",
"type": "boolean"
},
"resultType": {
"description": "Indicates the type of the result, which allows the client to determine\nhow to parse the result object.\n\nServers implementing this protocol version MUST include this field.\nFor backward compatibility, when a client receives a result from a\nserver implementing an earlier protocol version (which does not include\n`resultType`), the client MUST treat the absent field as `\"complete\"`.",
"type": "string"
},
"structuredContent": {
"description": "An optional JSON value that represents the structured result of the tool call.\n\nThis can be any JSON value (object, array, string, number, boolean, or null)\nthat conforms to the tool's outputSchema if one is defined."
}
},
"required": [
"content",
"resultType"
],
"type": "object"
}
Model Context Protocol · CallToolResultResponse · 2026-07-28
Exact selected JSON definition at /$defs/CallToolResultResponse; formatting normalized. JSON Schema 2020-12.
Primary source- Revision:
- schema/2026-07-28; observed snapshot
- Observed:
- 2026-11-12
- Snapshot SHA-256:
- 55ac6120891a9a5e3e31a25fb000a5b02a2e5f40242e60e685f3b929ea76de37
- License:
- Apache-2.0; original project source.
- Selected definition, not a standalone validator. Resolve references against the complete source.
- Every request includes params._meta with protocolVersion and clientCapabilities. clientInfo is SHOULD, not schema-required.
- CallToolResult includes resultType; content remains required; structuredContent can be any JSON value, not only an object.
- ListToolsResult includes cacheScope and ttlMs. A tool list may depend on request authorization.
- InputRequiredResult is a separate response variant. A retry uses inputResponses, echoed requestState where provided, and a fresh JSON-RPC id.
- InputRequiredResult prose requires at least one of inputRequests/requestState, although the generated JSON Schema only marks resultType required; preserve this extra prose constraint.
{
"description": "A successful response from the server for a {@link CallToolRequesttools/call} request.",
"properties": {
"id": {
"$ref": "#/$defs/RequestId"
},
"jsonrpc": {
"const": "2.0",
"type": "string"
},
"result": {
"anyOf": [
{
"$ref": "#/$defs/InputRequiredResult"
},
{
"$ref": "#/$defs/CallToolResult"
}
]
}
},
"required": [
"id",
"jsonrpc",
"result"
],
"type": "object"
}
Model Context Protocol · InputRequiredResult · 2026-07-28
Exact selected JSON definition at /$defs/InputRequiredResult; formatting normalized. JSON Schema 2020-12.
Primary source- Revision:
- schema/2026-07-28; observed snapshot
- Observed:
- 2026-11-12
- Snapshot SHA-256:
- 2c82de9f0a753218200a96d89d1edb693dbb45bef5a73728de6bbd34919550a3
- License:
- Apache-2.0; original project source.
- Selected definition, not a standalone validator. Resolve references against the complete source.
- Every request includes params._meta with protocolVersion and clientCapabilities. clientInfo is SHOULD, not schema-required.
- CallToolResult includes resultType; content remains required; structuredContent can be any JSON value, not only an object.
- ListToolsResult includes cacheScope and ttlMs. A tool list may depend on request authorization.
- InputRequiredResult is a separate response variant. A retry uses inputResponses, echoed requestState where provided, and a fresh JSON-RPC id.
- InputRequiredResult prose requires at least one of inputRequests/requestState, although the generated JSON Schema only marks resultType required; preserve this extra prose constraint.
{
"description": "An InputRequiredResult sent by the server to indicate that additional input is needed\nbefore the request can be completed.\n\nAt least one of `inputRequests` or `requestState` MUST be present.",
"properties": {
"_meta": {
"$ref": "#/$defs/ResultMetaObject"
},
"inputRequests": {
"$ref": "#/$defs/InputRequests"
},
"requestState": {
"type": "string"
},
"resultType": {
"description": "Indicates the type of the result, which allows the client to determine\nhow to parse the result object.\n\nServers implementing this protocol version MUST include this field.\nFor backward compatibility, when a client receives a result from a\nserver implementing an earlier protocol version (which does not include\n`resultType`), the client MUST treat the absent field as `\"complete\"`.",
"type": "string"
}
},
"required": [
"resultType"
],
"type": "object"
}
Model Context Protocol · ListToolsResult · 2026-07-28
Exact selected JSON definition at /$defs/ListToolsResult; formatting normalized. JSON Schema 2020-12.
Primary source- Revision:
- schema/2026-07-28; observed snapshot
- Observed:
- 2026-11-12
- Snapshot SHA-256:
- 41f7adad5470b719a35fa5db4ddd9abab4aea41950cf5e2ddce2c956d3c5af59
- License:
- Apache-2.0; original project source.
- Selected definition, not a standalone validator. Resolve references against the complete source.
- Every request includes params._meta with protocolVersion and clientCapabilities. clientInfo is SHOULD, not schema-required.
- CallToolResult includes resultType; content remains required; structuredContent can be any JSON value, not only an object.
- ListToolsResult includes cacheScope and ttlMs. A tool list may depend on request authorization.
- InputRequiredResult is a separate response variant. A retry uses inputResponses, echoed requestState where provided, and a fresh JSON-RPC id.
- InputRequiredResult prose requires at least one of inputRequests/requestState, although the generated JSON Schema only marks resultType required; preserve this extra prose constraint.
{
"description": "The result returned by the server for a {@link ListToolsRequesttools/list} request.",
"properties": {
"_meta": {
"$ref": "#/$defs/ResultMetaObject"
},
"cacheScope": {
"description": "Indicates the intended scope of the cached response, analogous to HTTP\n`Cache-Control: public` vs `Cache-Control: private`.\n\n- `\"public\"`: The response does not contain user-specific data. Any\n client or intermediary (e.g., shared gateway, caching proxy) MAY cache\n the response and serve it across authorization contexts.\n- `\"private\"`: The response MAY be cached and reused only within the\n same authorization context. Caches MUST NOT be shared across\n authorization contexts (e.g., a different access token requires a\n different cache).",
"enum": [
"private",
"public"
],
"type": "string"
},
"nextCursor": {
"description": "An opaque token representing the pagination position after the last returned result.\nIf present, there may be more results available.",
"type": "string"
},
"resultType": {
"description": "Indicates the type of the result, which allows the client to determine\nhow to parse the result object.\n\nServers implementing this protocol version MUST include this field.\nFor backward compatibility, when a client receives a result from a\nserver implementing an earlier protocol version (which does not include\n`resultType`), the client MUST treat the absent field as `\"complete\"`.",
"type": "string"
},
"tools": {
"items": {
"$ref": "#/$defs/Tool"
},
"type": "array"
},
"ttlMs": {
"description": "A hint from the server indicating how long (in milliseconds) the\nclient MAY cache this response before re-fetching. Semantics are\nanalogous to HTTP Cache-Control max-age.\n\n- If 0, The response SHOULD be considered immediately stale,\n The client MAY re-fetch every time the result is needed.\n- If positive, the client SHOULD consider the result fresh for this many\n milliseconds after receiving the response.",
"minimum": 0,
"type": "integer"
}
},
"required": [
"cacheScope",
"resultType",
"tools",
"ttlMs"
],
"type": "object"
}
Model Context Protocol · RequestMetaObject · 2026-07-28
Exact selected JSON definition at /$defs/RequestMetaObject; formatting normalized. JSON Schema 2020-12.
Primary source- Revision:
- schema/2026-07-28; observed snapshot
- Observed:
- 2026-11-12
- Snapshot SHA-256:
- 3ebef73d6d8067a1213b753757d024a9ea5052ea9532595fcd0d79b6dd9d7fdf
- License:
- Apache-2.0; original project source.
- Selected definition, not a standalone validator. Resolve references against the complete source.
- Every request includes params._meta with protocolVersion and clientCapabilities. clientInfo is SHOULD, not schema-required.
- CallToolResult includes resultType; content remains required; structuredContent can be any JSON value, not only an object.
- ListToolsResult includes cacheScope and ttlMs. A tool list may depend on request authorization.
- InputRequiredResult is a separate response variant. A retry uses inputResponses, echoed requestState where provided, and a fresh JSON-RPC id.
- InputRequiredResult prose requires at least one of inputRequests/requestState, although the generated JSON Schema only marks resultType required; preserve this extra prose constraint.
{
"description": "Extends {@link MetaObject} with additional request-specific fields. All key naming rules from `MetaObject` apply.",
"properties": {
"io.modelcontextprotocol/clientCapabilities": {
"$ref": "#/$defs/ClientCapabilities",
"description": "The client's capabilities for this specific request. Required.\n\nCapabilities are declared per-request rather than once at initialization;\nan empty object means the client supports no optional capabilities.\nServers MUST NOT infer capabilities from prior requests."
},
"io.modelcontextprotocol/clientInfo": {
"$ref": "#/$defs/Implementation",
"description": "Identifies the client software making the request. Clients SHOULD\ninclude this field on every request unless specifically configured not\nto do so.\n\nThe {@link Implementation} schema requires `name` and `version`; other\nfields are optional.\n\nThe value is self-reported by the client and is not verified by the\nprotocol. It is intended for display, logging, and debugging. Servers\nSHOULD NOT use it to change their behavior, and SHOULD NOT rely on it for\nsecurity decisions."
},
"io.modelcontextprotocol/logLevel": {
"$ref": "#/$defs/LoggingLevel",
"description": "The desired log level for this request. Optional.\n\nIf absent, the server MUST NOT send any {@link LoggingMessageNotificationnotifications/message}\nnotifications for this request. The client opts in to log messages by\nexplicitly setting a level. Replaces the former `logging/setLevel` RPC."
},
"io.modelcontextprotocol/protocolVersion": {
"description": "The MCP Protocol Version being used for this request. Required.\n\nFor the HTTP transport, this value MUST match the `MCP-Protocol-Version`\nheader; otherwise the server MUST return a `400 Bad Request`. If the\nserver does not support the requested version, it MUST return an\n{@link UnsupportedProtocolVersionError}.",
"type": "string"
},
"progressToken": {
"$ref": "#/$defs/ProgressToken",
"description": "If specified, the caller is requesting out-of-band progress notifications for this request (as represented by {@link ProgressNotificationnotifications/progress}). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications."
}
},
"required": [
"io.modelcontextprotocol/clientCapabilities",
"io.modelcontextprotocol/protocolVersion"
],
"type": "object"
}
Model Context Protocol · TextContent · 2026-07-28
Exact selected JSON definition at /$defs/TextContent; formatting normalized. JSON Schema 2020-12.
Primary source- Revision:
- schema/2026-07-28; observed snapshot
- Observed:
- 2026-11-12
- Snapshot SHA-256:
- bdf38b05d2159c18e84150f0ce3682068f278cf74c340d035a082d5736c38fb3
- License:
- Apache-2.0; original project source.
- Selected definition, not a standalone validator. Resolve references against the complete source.
- Every request includes params._meta with protocolVersion and clientCapabilities. clientInfo is SHOULD, not schema-required.
- CallToolResult includes resultType; content remains required; structuredContent can be any JSON value, not only an object.
- ListToolsResult includes cacheScope and ttlMs. A tool list may depend on request authorization.
- InputRequiredResult is a separate response variant. A retry uses inputResponses, echoed requestState where provided, and a fresh JSON-RPC id.
- InputRequiredResult prose requires at least one of inputRequests/requestState, although the generated JSON Schema only marks resultType required; preserve this extra prose constraint.
{
"description": "Text provided to or from an LLM.",
"properties": {
"_meta": {
"$ref": "#/$defs/MetaObject"
},
"annotations": {
"$ref": "#/$defs/Annotations",
"description": "Optional annotations for the client."
},
"text": {
"description": "The text content of the message.",
"type": "string"
},
"type": {
"const": "text",
"type": "string"
}
},
"required": [
"text",
"type"
],
"type": "object"
}
Model Context Protocol · Tool · 2026-07-28
Exact selected JSON definition at /$defs/Tool; formatting normalized. JSON Schema 2020-12.
Primary source- Revision:
- schema/2026-07-28; observed snapshot
- Observed:
- 2026-11-12
- Snapshot SHA-256:
- a8fb6822fb43f2efa13547fe366901bfc05e59db20defdfac7ceb1eb1295c4fc
- License:
- Apache-2.0; original project source.
- Selected definition, not a standalone validator. Resolve references against the complete source.
- Every request includes params._meta with protocolVersion and clientCapabilities. clientInfo is SHOULD, not schema-required.
- CallToolResult includes resultType; content remains required; structuredContent can be any JSON value, not only an object.
- ListToolsResult includes cacheScope and ttlMs. A tool list may depend on request authorization.
- InputRequiredResult is a separate response variant. A retry uses inputResponses, echoed requestState where provided, and a fresh JSON-RPC id.
- InputRequiredResult prose requires at least one of inputRequests/requestState, although the generated JSON Schema only marks resultType required; preserve this extra prose constraint.
{
"description": "Definition for a tool the client can call.",
"properties": {
"_meta": {
"$ref": "#/$defs/MetaObject"
},
"annotations": {
"$ref": "#/$defs/ToolAnnotations",
"description": "Optional additional tool information.\n\nDisplay name precedence order is: `title`, `annotations.title`, then `name`."
},
"description": {
"description": "A human-readable description of the tool.\n\nThis can be used by clients to improve the LLM's understanding of available tools. It can be thought of like a \"hint\" to the model.",
"type": "string"
},
"icons": {
"description": "Optional set of sized icons that the client can display in a user interface.\n\nClients that support rendering icons MUST support at least the following MIME types:\n- `image/png` - PNG images (safe, universal compatibility)\n- `image/jpeg` (and `image/jpg`) - JPEG images (safe, universal compatibility)\n\nClients that support rendering icons SHOULD also support:\n- `image/svg+xml` - SVG images (scalable but requires security precautions)\n- `image/webp` - WebP images (modern, efficient format)",
"items": {
"$ref": "#/$defs/Icon"
},
"type": "array"
},
"inputSchema": {
"additionalProperties": {},
"description": "A JSON Schema object defining the expected parameters for the tool.\n\nTool arguments are always JSON objects, so `type: \"object\"` is required at the root.\nBeyond that, any JSON Schema 2020-12 keyword may appear alongside `type` — including\ncomposition keywords (`oneOf`, `anyOf`, `allOf`, `not`), conditional keywords\n(`if`/`then`/`else`), reference keywords (`$ref`, `$defs`, `$anchor`), and any other\nstandard validation or annotation keywords.\n\nWhen using composition keywords, declare `properties` at the schema root and keep the\nbranches to presence assertions such as `required`. A subschema that fails on a type\nerror is indistinguishable from one that does not apply, so type constraints placed\ninside `oneOf` branches are not enforced for whichever branch does not match.\n\nProperty schemas may carry an `x-mcp-header` annotation to mirror the\nargument value into an HTTP header on the Streamable HTTP transport. See\nthe Streamable HTTP transport specification for the validity and\nextraction rules.\n\nDefaults to JSON Schema 2020-12 when no explicit `$schema` is provided.",
"properties": {
"$schema": {
"type": "string"
},
"type": {
"const": "object",
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
},
"name": {
"description": "Intended for programmatic or logical use, but used as a display name in past specs or fallback (if title isn't present).",
"type": "string"
},
"outputSchema": {
"additionalProperties": {},
"description": "An optional JSON Schema object defining the structure of the tool's output returned in\nthe structuredContent field of a {@link CallToolResult}. This can be any valid JSON Schema 2020-12.\n\nDefaults to JSON Schema 2020-12 when no explicit `$schema` is provided.",
"properties": {
"$schema": {
"type": "string"
}
},
"type": "object"
},
"title": {
"description": "Intended for UI and end-user contexts — optimized to be human-readable and easily understood,\neven by those unfamiliar with domain-specific terminology.\n\nIf not provided, the name should be used for display (except for {@link Tool},\nwhere `annotations.title` should be given precedence over using `name`,\nif present).",
"type": "string"
}
},
"required": [
"inputSchema",
"name"
],
"type": "object"
}