list_windows
List visible windows with ID, title, position, and size, sorted by area to identify the primary window and locate target window IDs for GUI automation.
Instructions
一次列出当前可见窗口:[{id,title,pid,x,y,w,h,area}],按面积降序(面积最大者通常是主窗口;未映射的孤儿窗/隐藏辅助窗已被过滤)。用于甄别同名窗、定位目标窗口 id,替代多次 shell 查询。返回 JSON 文本。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |