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

    Type Alias ImageContentExperimental

    An image provided to or from an LLM.

    type ImageContent = {
        data: string;
        mimeType: MediaType;
        uri?: string | null;
        annotations?: Annotations | null;
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    data: string

    Base64-encoded media payload.

    mimeType: MediaType

    MIME type describing the encoded media payload.

    uri?: string | null

    URI associated with this resource or media payload.

    Omitted and null are equivalent and mean no URI is associated with the image.

    annotations?: Annotations | null

    Optional annotations that help Clients decide how to display or route this content.

    Omitted and null are equivalent and mean no annotations are provided.

    _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.

    See protocol docs: Extensibility