read_image
Read an image file from the session temp directory and return it as an inline content block for rendering in agent UIs.
Instructions
Read an image file (.png, .jpg, .gif) from the session temp directory.
Returns the image as an inline content block that renders in agent UIs.
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": {
"filename": "<filename>"
},
"name": "read_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes |