View image
view_imageFetch a workspace image as MCP image content for review or analysis, with auto-resize and size bounds.
Instructions
Return a workspace image as MCP image content.
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 | ||
| max_bytes | No | ||
| max_width | No | ||
| max_height | No | ||
| auto_resize | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| path | No | ||
| bytes | No | ||
| error | No | ||
| width | No | ||
| height | No | ||
| resized | No | ||
| warnings | No | ||
| mime_type | No |