vm_windows
Lists visible top-level windows in front-to-back order with handles, titles, process details, geometry, and focus state so you can target windows for UI inspection, actions, or screenshots.
Instructions
Lists the visible top-level windows, front first: hwnd, title, class, pid, process, x, y, width, height, focused, minimized, maximized (physical screen pixels). Use the hwnd with vm_window, vm_ui_tree, vm_ui_act and vm_screenshot.
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>"
},
"name": "vm_windows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |