ai_ocr_region
Extract text from a screen region using macOS OCR. Returns recognized text with positions, enabling reading of text not accessible via accessibility APIs.
Instructions
[AI-Optimized] Extract text from a screen region using macOS Vision framework OCR. Returns recognized text with positions. Useful for reading text that isn't accessible via the accessibility API.
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": {
"x": "<x>",
"y": "<y>",
"width": "<width>",
"height": "<height>"
},
"name": "ai_ocr_region"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Region X coordinate | |
| y | Yes | Region Y coordinate | |
| width | Yes | Region width | |
| height | Yes | Region height |