0Pricing
MCP Academy · Lesson

Return Images & Binary Blobs

Send non-text content back through a tool.

Beyond Text and JSON

Some tools produce pictures or files, not words. MCP can return binary content like images and other blobs, not just text.

The Image Content Type

MCP defines an image content type carrying the raw bytes plus a media type. Clients that support it can render the picture directly. 🖼️

All lessons in this course

  1. Text vs Structured Content
  2. Return a Typed Result Object
  3. Output Schemas for Clients
  4. Return Images & Binary Blobs
← Back to MCP Academy