Screenshot the nested display
screenshotCaptures the composited display frame as PNG with exact pixels and resolved palette, including Wayland and X11 clients; image coordinates match click and pointer_move.
Instructions
Captures the composited frame (grim) as PNG - exact pixels, palette already resolved, includes Wayland and X11 clients. Coordinates in the image are the same coordinates used by click/pointer_move.
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 |
|---|---|---|---|
| x | No | ||
| y | No | ||
| id | No | Display id from display_open. Optional when exactly one display is open. | |
| scale | No | Output scale factor | |
| width | No | ||
| height | No |