List windows
list_windowsLists capturable top-level windows with app, title, position, size, and focus state, letting agents find and target a specific window by app or title filter.
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. wait (0-10000 ms) polls every 100 ms and returns as soon as one window matches, to catch a window that is still opening; with no match by then the list is empty.
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). | |
| wait | No | Milliseconds to keep polling for a match, 0 to 10000 (default 0: list once). | |
| limit | No | Max results (default 100). | |
| title | No | Title substring. |