List windows
list_windowsRetrieves capturable top-level desktop windows with IDs, app names, titles, process IDs, bounds, and focus state; filter by app or title substring to locate target windows.
Instructions
Capturable top-level windows: {id, app, title, pid, x, y, width, height, focused}. app prefers exact app names (case-insensitive) and falls back to substrings, as in omp; title is a case-insensitive substring. A failed title filter does not prove a window is absent.
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 |
|---|---|---|---|
| app | No | App name (exact preferred, else substring). | |
| limit | No | Max results (default 100). | |
| title | No | Title substring. |