ACP v2 TypeScript SDK — EXPERIMENTAL DRAFT - v1.3.0
    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. A change in messageId indicates a new message has started.

    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. Implementations MUST NOT make assumptions about values at these keys. This field is chunk-scoped.

    See protocol docs: Extensibility