ui_tree
Retrieve an application's accessibility tree to inspect roles, names, screen bounds, and actionable nodes. Use it when you need the full window structure rather than a targeted search.
Instructions
Accessibility tree for one application: roles, names, screen bounds, and which nodes are actionable. Prefer ui_find unless you genuinely need the shape of the whole window.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"app": "<app>"
},
"name": "ui_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | Application name from ui_apps | |
| depth | No |