@modelcontextprotocol/sdk
    Preparing search index...

    Interface ImageContent

    An image provided to or from an LLM.

    interface ImageContent {
        _meta?: { [key: string]: unknown };
        annotations?: Annotations;
        data: string;
        mimeType: string;
        type: "image";
    }
    Index

    Properties

    _meta?: { [key: string]: unknown }

    See General fields: _meta for notes on _meta usage.

    annotations?: Annotations

    Optional annotations for the client.

    data: string

    The base64-encoded image data.

    byte

    mimeType: string

    The MIME type of the image. Different providers may support different image types.

    type: "image"