recognize_image_text
Recognize text in a saved simulator PNG with on-device OCR, returning extracted text and normalized bounds for UI inspection and verification.
Instructions
Recognize text in a saved simulator PNG using on-device OCR. Returns text and normalized bounds; confidence is available on macOS. OCR is evidence, not a replacement for storage assertions.
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": "recognize_image_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_path | Yes |