Skip to content
{mcpdesc}

Retain embedded JSON Schema keywords

Embedded Tool schemas can contain keywords beyond the fields MCP lists. A tool must preserve them through the operations covered by the specification instead of discarding unrecognized keywords. This is a tooling guarantee, so a valid custom keyword does not itself produce a document diagnostic.

Tool inputSchema and outputSchema are JSON Schema objects; keywords beyond those MCP lists are permitted and preserved, and acquire MCP semantics only where a protocol version defines them.

Rule ID: mcp.tool.schema-keywords.preserve
Owner: mcp
Surface: Tool · Path: inputSchema, outputSchema
Kind: preservation
Requirement level: Not specified in the rule record
Status: arbitrated · Enforcement: internal

2024-11-05 2025-03-26 2025-06-18 2025-11-25 2026-07-28
applies applies applies applies applies

Source: view-fixtures/view-tool-schema-keywords-2025-11-25.json · Selected: /expected

"expected/view-tool-schema-keywords-2025-11-25.json"

tool.yaml at immutable tag v0.9.0-rc.3.