Screenshot
screenshotCapture a window or display as PNG with caption and token estimate to inspect desktop apps; use region zoom or change verification for cheaper visual checks.
Instructions
Capture a window or display as PNG with a text caption and estimated image token cost. Full captures have frame ids and identify superseded frames. Use detail: low for cheaper verification. Pointer x,y for input tools are pixels of the latest FULL screenshot of the same target. With region, returns a zoomed detail view. Use changes: true to verify against the last full screenshot of this target. It returns a crop with its position, or no image if unchanged. Zoom and delta crops preserve the full input frame. A missing baseline, changed size or scale, or large change returns a new full screenshot.
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": {
"target": "<target>"
},
"name": "screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | Use low for verification images bounded by 1024×576 or full for the normal bounds. The configured image max edge also applies. | |
| region | No | ||
| target | Yes | Window id from list_windows (a "window:<id>" prefix is accepted), "desktop", or "display:<id>" / "display:active" / "display:all". Prefer a window id so the input stays scoped to that window; desktop/display input directly drives the user's pointer and keyboard. | |
| changes | No | Compare with the previous full frame. Cannot be combined with region. | |
| maxWidth | No | Max delivered width (default 1366). | |
| maxHeight | No | Max delivered height (default 768). |