batch_ocr
OCR many images at once by providing a glob pattern or absolute file paths. Choose the OCR engine and language to extract text from image files.
Instructions
OCR many images. paths_or_glob is a glob (e.g. 'C:/scans/*.png') or a
JSON list of absolute paths. Returns JSON: {count, results:[...]}.
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": {
"paths_or_glob": "<paths_or_glob>"
},
"name": "batch_ocr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths_or_glob | Yes | ||
| engine | No | auto | |
| lang | No | en |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |