Screenshot
screenshotCapture the rendered app view or selected region as PNG, with optional labels, overlays, zoom, and file output for inspection.
Instructions
A picture of the page's screen as the app draws it (the head unit's screen, or the picture with its lights, vents, parts and zone outlines). labels draws point ids and touch area outlines with their names (interior pages). region + zoom shows a part up close. pictureBox in the answer says where the picture sits in the screenshot (x, y, pixels per picture pixel). With file, the PNG is written there instead of shown.
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": "screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Write the PNG to this path on this computer instead of returning it | |
| zoom | No | Enlarge pixel for pixel (with region: a close look) | |
| labels | No | Draw point ids (with their image boxes) and touch areas (outline, index, name) on the picture | |
| region | No | Only this part | |
| maxWidth | No | Cap on the width in pixels (default: the screen or picture at its own resolution, at most 2560) | |
| overlays | No | Include SVG overlays such as zone outlines and screen controls (default true) |