get_screenshot
Capture Connect IQ simulator screenshots in screen, bezel, or annotated debug views; crop, mask, OCR, and save images to verify watch app UI and layout.
Instructions
Capture a screenshot of the Connect IQ simulator. Supports watch display crop ('screen', 1:1 pixel mapping), full window with bezel ('bezel'), or annotated debug view with button hitboxes and coordinate grid ('annotated').
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mask | No | Mask the screen view to a circle (round devices) | |
| view | No | Screenshot view mode: 'screen' crops to watch display; 'bezel' captures device bezel; 'annotated' composites SVG debug overlay (default: 'screen') | |
| format | No | Output format (default: png) | |
| region | No | Crop region in processed screenshot pixels | |
| device_id | No | Device profile ID (defaults to active device) | |
| hash_only | No | Return the hash and metadata without the image payload | |
| save_path | No | Optional file path on disk to save the image | |
| inline_ocr | No | Run OCR on the captured image and include the text | |
| expect_text | No | Fail with E_TEXT_NOT_FOUND unless the OCR text contains this value |