ocr_image
Extract text from images via OCR. Supports file paths, URLs, data URIs, or base64 strings; multiple languages with Tesseract.
Instructions
Extract readable text from an image (OCR).
Accepts a file path, URL, data URI, or base64 string. Uses local Tesseract
when installed; otherwise falls back to the configured vision provider.
lang is a Tesseract language code (e.g. 'eng', 'chi_sim', 'eng+chi_sim').
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": {
"image": "<image>"
},
"name": "ocr_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | eng | |
| image | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |