mcp-use TypeScript API
    Preparing search index...

    Interface ModelContextImageData

    Native base64 image evidence, limited to 10 MiB of decoded bytes.

    interface ModelContextImageData {
        audience?: ("user" | "assistant")[];
        src?: undefined;
        title?: string;
    }

    Hierarchy (View Summary)

    Index
    audience?: ("user" | "assistant")[]

    Maps to MCP annotations.audience. All blocks still reach the model.

    src?: undefined

    Use data plus mimeType instead of a source URL.

    title?: string

    Optional display label. The SDK handles encoding and host restoration.