Record

blob

Binary content (image or audio) with MIME type

Used for images and audio provided to or from an LLM.

Spec: https://spec.modelcontextprotocol.io/specification/2025-06-18/schema#imagecontent

record blob {
  data: blob-data,
  mime-type: string,
  options: option​<content-options>,
}

Fields

NameTypeDescription
datablob-data

The binary data or stream

mime-typestring

MIME type (e.g., "image/png", "audio/mp3")

optionsoption​<content-options>