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

    Type Alias ContentChunkExperimental

    A streamed item of message content.

    type ContentChunk = {
        messageId: MessageId;
        content: ContentBlock;
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    messageId: MessageId

    A unique identifier for the message this chunk belongs to.

    All chunks belonging to the same message share the same messageId. Chunks for different messages can interleave.

    content: ContentBlock

    A single item of content

    _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