Interface IMCPImageMessage

Image message for the MCP (Model Context Protocol) agent (e.g. a rendered chart). Payload is base64-encoded binary data with its mime type.

interface IMCPImageMessage {
    data: string;
    id: MCPMessageId;
    mimeType: string;
    type: "image";
}

Properties

Properties

data: string

Base64-encoded binary data of the image

Unique identifier for the message (used to track delivery and deduplication)

mimeType: string

Mime type of the encoded payload (e.g., "image/png")

type: "image"

Discriminator for type-safe union