Screenshot one window
screenshot_windowCapture a specific window's rectangle from the composited frame using its window ID, so you can inspect or verify GUI output inside a nested Wayland display.
Instructions
Captures the window's rectangle from the composited 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": {
"window_id": "<window_id>"
},
"name": "screenshot_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Display id from display_open. Optional when exactly one display is open. | |
| scale | No | ||
| window_id | Yes | Window id from the windows tool |