vision_ocr
Extract all text from an image using a local path, base64 data, or remote URL; supports general, error, and table OCR hints.
Instructions
Extract all text from an image. Pass image_path (local file) or image_base64 + mime_type.
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": "vision_ocr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | Optional OCR task hint | |
| model | No | Vision model name | qwen3-vl:2b-instruct |
| image_url | No | Remote HTTP(S) image URL | |
| mime_type | No | MIME type of image_base64 (e.g. image/png) | |
| image_path | No | Local path to the image file | |
| image_base64 | No | Base64-encoded image data |