A11 TypeScript API - v0.7.0
    Preparing search index...

    Interface NormalizedPart

    A single, backend-independent piece of an interaction's content.

    interface NormalizedPart {
        arguments?: Record<string, unknown>;
        call_id?: string;
        content?: string;
        data?: string;
        id?: string;
        mime_type?: string;
        name?: string;
        text?: string;
        type: NormalizedContentType;
    }
    Index
    arguments?: Record<string, unknown>

    Decoded arguments supplied to the requested action.

    call_id?: string

    Tool-call id answered by a result part.

    content?: string

    Text form of a tool result.

    data?: string

    Encoded bytes for an image part.

    id?: string

    Provider tool-call id when the provider assigns one.

    mime_type?: string

    Media type for encoded image data.

    name?: string

    Action name requested by a tool-call part.

    text?: string

    Text content for a text part.

    Content category that determines which remaining fields apply.