vm_window
Controls a Windows VM window: focus (restores then brings to front), minimize, maximize, restore, or close politely so apps can prompt to save.
Instructions
Acts on a window from vm_windows. action: focus (restores it first, then brings it to the front; ok=false if Windows refuses), minimize, maximize, restore, close (polite WM_CLOSE: an app may ask to save 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": {
"vm": "<vm>",
"hwnd": "<hwnd>",
"action": "<action>"
},
"name": "vm_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm | Yes | ||
| hwnd | Yes | ||
| action | Yes |