view_image
Retrieves an image from a message, URL, local path, or file ID and returns it for inspection.
Instructions
Look at a picture: pass a message_id (first image in that message), an image URL, a local path, or an image file id. Returns the image so you can see it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "view_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Image URL / path / base64 | |
| file | No | Image file id from a message segment (get_image) | |
| index | No | Which image in the message (0-based) | |
| message_id | No | Message containing the image |