ACP v2 (Preview) TypeScript SDK — EXPERIMENTAL - v2.12.1
    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 send a tool_call_update with 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. Omitted and null are equivalent and mean no metadata. Implementations MUST NOT assign meaning to keys they do not recognize. This metadata is scoped to the chunk and does not patch stored metadata.

    See protocol docs: Extensibility