OCR Image to Text
ocr_imageRun optical character recognition on an image (png, jpg, webp, bmp) and return the recognized text with a confidence score. Supports 100+ languages via the language parameter (ISO 639-2 codes like 'eng', 'deu', 'fra', 'spa').
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": "ocr_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_url | No | Public http(s) URL of the file | |
| language | No | Tesseract language code, default 'eng' | |
| file_base64 | No | Base64-encoded file contents (data-URI prefix allowed) |