Skip to content
{mcpdesc}

Use MCP content blocks and resource contents

Content in example results is an MCP content block selected by type: text, image, audio, resource link, or embedded resource. Resource contents have a uri and either text or blob. Each carries only the fields its MCP type defines.

Content blocks and resource contents match exactly one MCP content type, with its required fields and no unknown fields.

Rule ID: mcp.content.members
Owner: mcp
Surface: ContentBlock, ResourceContents
Kind: structural
Requirement level: must
Protocol versions: independent of the MCP protocol version
Document schema locations: #/$defs/toolResultContent, #/$defs/resourceContents
Status: internal · Enforcement: internal

Source: expected-invalid/discriminated-union-members.json · Selected: /tools/0/interactionExamples/invalid/result/content/0

{
"type": "text",
"tetx": "Done"
}

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