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

    Type Alias IconExperimental

    An optionally-sized icon that can be displayed in a user interface.

    type Icon = {
        src: string;
        mimeType?: MediaType | null;
        sizes?: string[] | null;
        theme?: IconTheme | null;
    }
    Index
    src: string

    A standard URI pointing to an icon resource.

    mimeType?: MediaType | null

    Optional MIME type override if the source MIME type is missing or generic.

    sizes?: string[] | null

    Optional array of strings that specify sizes at which the icon can be used. Each string should be in WxH format (e.g., "48x48", "96x96") or "any" for scalable formats like SVG.

    If not provided, the client should assume that the icon can be used at any size.

    theme?: IconTheme | null

    Optional theme this icon is designed for.