ocr_recognize
Extract text from images with OCR by providing base64-encoded image data. Optionally return confidence probability, apply color filters, or limit recognition to a specific character set.
Instructions
Perform OCR recognition on an image to extract text content
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_recognize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | Base64 encoded image data | |
| png_fix | No | Fix transparent PNG images | |
| probability | No | Whether to return confidence probability | |
| color_filter | No | Color filters to apply (e.g., ["red", "blue"]) | |
| charset_range | No | Character set range for recognition (e.g., "0123456789" for digits only) |