ui_tree
Lists open windows and on-screen UI elements with text, type, bounds, and clickable/input flags plus refs for targeting UI actions.
Instructions
List open windows and on-screen UI elements (text, tooltip, actionId, type, rect, clickable/input flags) with refs for the other ui_* tools.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max elements (default 150). | |
| query | No | Only elements whose text/tooltip/actionId/objectName/type contains this. | |
| window | No | Window index or title substring (default: focused/main window). | |
| include_hidden | No | ||
| interactive_only | No | Only clickable, input or action elements. |