run_apple_ocr
Extract text from base64-encoded images using Apple Vision OCR on macOS and EasyOCR on other platforms.
Instructions
Run OCR on a base64-encoded image.
macOS: Apple Vision OCR on Neural Engine (~0.05s). Other: EasyOCR on CPU or CUDA GPU (pip install aistent[all]).
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": "run_apple_ocr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_base64 | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |