list_windows
List all visible desktop windows with handles, titles, process names, and states to identify windows for further control and automation.
Instructions
List all visible windows on the desktop.
Returns a list of window objects with: hwnd (window handle),
title, process_name, pid, class_name, state
(normal/minimized/maximized), left, top, width, height.
Use hwnd to identify a window for other window tools.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_windows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |