Agent Client Protocol - v2.12.0
    Preparing search index...

    Type Alias ContentBlock

    ContentBlock:
        | TextContent & { type: "text" }
        | ImageContent & { type: "image" }
        | AudioContent & { type: "audio" }
        | ResourceLink & { type: "resource_link" }
        | EmbeddedResource & { type: "resource" }

    Content blocks represent displayable information in the Agent Client Protocol.

    Content blocks appear in:

    • User prompts sent via session/prompt
    • Language model output streamed through session/update notifications
    • Progress updates and results from tool calls

    This structure is compatible with the Model Context Protocol (MCP), so agents can forward content from MCP tool outputs without transformation.

    See protocol docs: Content