Read Image
read_imageRead images via a vision model to generate descriptions, perform OCR, or extract structured data from path, URL, base64, or data URL sources.
Instructions
Read an image through an OpenAI-compatible vision model. Supports path, url, base64, and data_url sources.
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": {
"source": "<source>",
"mode": "<mode>"
},
"name": "read_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| schema | No | ||
| source | Yes | ||
| question | No | ||
| raw_response | No |