Screenshot
screenshotCaptures a window or display as PNG for desktop inspection; optionally returns a zoomed region for detailed viewing.
Instructions
Capture a window or display as PNG. Pointer x,y for input tools are pixels of the latest FULL screenshot of the same target. With region, returns a zoomed detail view that does not change that input frame.
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 |
|---|---|---|---|
| region | No | ||
| target | Yes | Window id from list_windows, "desktop", or "display:<id>" / "display:active" / "display:all". Prefer a window id: window input runs in the background; desktop/display input drives the user's real pointer and keyboard. | |
| maxWidth | No | Max delivered width (default 1366). | |
| maxHeight | No | Max delivered height (default 768). |