get_ui_tree
Fetch the accessibility tree of an app to obtain UI roles, titles, values, and clickable regions. Falls back to find_text when apps lack accessibility data.
Instructions
Accessibility tree for an app (frontmost if omitted): roles, titles, values, clickable regions in points. Ground truth where apps expose it; use find_text where they don't.
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": "get_ui_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | ||
| max_depth | No |