window_focus
Brings a selected VM window to the foreground. Use after window_list to focus the target window, then call vm_unlock when finished.
Instructions
Bring a window returned by window_list to the foreground. VM remains locked by this session; call vm_unlock when finished.
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>",
"vm_name": "<vm_name>"
},
"name": "window_focus"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm_name | Yes | Unique VM name configured in WIN98CTL.INI. | |
| window_id | Yes | Window handle returned by window_list. |