ocr_image
Extracts text from images using OCR, returning text blocks with confidence scores and bounding boxes for accurate text recognition.
Instructions
OCR text from an image.
Extracts text using the best available OCR backend. Returns text blocks with confidence scores and bounding boxes.
Args: image_path: Absolute path to the image file (must be under home directory)
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_path": "<image_path>"
},
"name": "ocr_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |