ACP v2 (Preview) TypeScript SDK — UNSTABLE - v2.12.1
    Preparing search index...

    Type Alias ContentBlock

    ContentBlock: types.ContentBlock

    Content blocks represent displayable information in the Agent Client Protocol.

    Content blocks appear in:

    • User prompts sent via session/prompt
    • Language model output reported through session/update notifications as message updates or streamed chunks
    • 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