capture_window
Captures a specified window or the full screen to a PNG file, enabling AI agents to inspect and automate desktop GUI applications.
Instructions
Capture a window (or the full screen if hwnd=0) to PNG.
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": {
"out": "<out>"
},
"name": "capture_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out | Yes | output PNG path | |
| hwnd | No | ||
| dry_run | No |