read_image
Read an image file and provide its bytes to the model as base64-encoded content with metadata for visual analysis.
Instructions
Read an image file and pass the bytes through to the model.
Returns an MCP image content block (base64-encoded with mime type) plus a
JSON metadata sidecar. Use this when the model needs to actually see the
image; for any other file type use read.
Images are NOT cached — every call re-reads from disk. Cap is
SCMCP_MAX_IMAGE_BYTES (default 5 MiB) to protect both the response
budget and Anthropic's ~5 MB upload limit.
Args: path: Image file path (absolute or relative to project root).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| truncated | No | ||
| path | No | ||
| size | No | ||
| mime | No |