View Image
view_imageView a PNG, JPEG, GIF, or WebP image from the active workspace. Returns the image data with dimensions and SHA-256 for verification.
Instructions
Inspect a PNG, JPEG, GIF, or WebP image from the active workspace. Returns native MCP image content plus dimensions and SHA-256.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "view_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Image path relative to workspace root. | |
| max_bytes | No | Maximum image bytes. Default: at least 1 MB, capped at 2 MB. | |
| workspace_id | No | Workspace id from open_workspace. Omit to use the workspace selected for this MCP session. |