mcp-use TypeScript API
    Preparing search index...

    Interface ImageContentPart

    Image content supplied to a multimodal model.

    interface ImageContentPart {
        data?: string;
        mimeType?: string;
        type: "image";
        url: string;
    }
    Index
    data?: string

    Base64 payload without the data-URL prefix (when available).

    mimeType?: string

    Extracted mime type; filled in by messageFormat when converting.

    type: "image"

    Content discriminator.

    url: string

    Full data URL (data:image/png;base64,...) or raw https URL.