capture_window
Take a screenshot of a specific window without bringing it to the foreground or interrupting your workflow, even while watching video or using other applications.
Instructions
Capture a screenshot of a specific window without bringing it to the foreground or stealing focus from the user. Works while the user watches video or works.
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": "capture_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window_id | Yes | Window ID (HWND, XID hex 0x..., or title substring). | |
| output_path | No | Optional absolute path where the screenshot PNG will be saved. Defaults to an artifact path. |