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

    Type Alias TextContentExperimental

    Text provided to or from an LLM.

    type TextContent = {
        text: string;
        annotations?: Annotations | null;
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    text: string

    Text payload carried by this content block.

    annotations?: Annotations | null

    Optional annotations that help clients decide how to display or route this 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.

    See protocol docs: Extensibility