visual_inspect
Captures an app window or full desktop, overlays numbered marks from accessibility and OCR data, and returns an annotated image with clickable Mark IDs for visual grounding.
Instructions
Set-of-Mark (SoM) visual indexing for an app bundle ID or 'desktop' (full screen): captures window/screen, fuses Accessibility + Vision OCR boxes, overlays [m1]..[mN] badges, and returns annotated image (JPEG default or PNG) + clickable Mark IDs. Pass ocr='auto'|'fast'|'accurate'|'off' (default 'auto'), max_marks (1..=150, default 80), format='jpeg'|'png', quality (1..=100), and max_width (640..=2560).
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": {
"app": "<app>"
},
"name": "visual_inspect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ||
| ocr | No | ||
| format | No | ||
| window | No | ||
| quality | No | ||
| max_marks | No | ||
| max_width | No |