ACP v2 TypeScript SDK — EXPERIMENTAL DRAFT - v1.3.0
    Preparing search index...

    Type Alias ToolCallContentChunkExperimental

    A streamed item of tool-call content.

    Tool-call content chunks append one [ToolCallContent] item to the current content for the matching [ToolCallId]. Agents can use [ToolCallUpdate::content] when they need to replace the whole content collection instead.

    type ToolCallContentChunk = {
        toolCallId: ToolCallId;
        content: ToolCallContent;
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    toolCallId: ToolCallId

    The ID of the tool call this content belongs to.

    content: ToolCallContent

    A single item of content produced by the tool call.

    _meta?: { [key: string]: unknown } | null

    The _meta property is reserved by ACP to allow clients and agents to attach additional metadata to their interactions. Implementations MUST NOT make assumptions about values at these keys. This field is chunk-scoped.

    See protocol docs: Extensibility