OCR Image to Text
ocr_imageRun OCR on an image (base64-encoded bytes) and return recognized text.
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_base64": "<image_base64>"
},
"name": "ocr_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Tesseract language code (default 'eng'). | eng |
| image_base64 | Yes | The image file contents, base64-encoded. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |