rdp_screenshot
Captures the connected RDP window to an absolute PNG path for verification; run host_status first if no session is open.
Instructions
Capture the RDP window (found by class "AxHostWindow", else the hwnd rdp_connect recorded) to an absolute PNG path via PrintWindow and write it with fs; fails with BAD_ARGS on hosts where rdp_connect never connected or no window is open -- run host_status first.
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": {
"outputPath": "<outputPath>"
},
"name": "rdp_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | ||
| outputPath | Yes | Absolute path for the PNG file |