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.
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": "ui_tree"
}
}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. |