capture_window
Capture a simulator-owned dialog or window by hwnd as a PNG image, with an optional save path for inspection or debugging.
Instructions
Capture a simulator-owned dialog or window by hwnd. Returns the PNG image and optional saved path.
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": {
"hwnd": "<hwnd>"
},
"name": "capture_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hwnd | Yes | Window handle from list_windows | |
| save_path | No | Optional file path to save the PNG |