render_image
Reads an image file and returns base64-encoded contents for AI assistants, supporting PNG, JPEG, GIF, WebP, and SVG. Use it to inspect local images or pass them to other tools.
Instructions
Read an image file and return it as base64. Supports PNG, JPEG, GIF, WebP, SVG.
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": "render_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the image file |