computer.get_ui_tree
Retrieves the accessibility tree of the active or specified window as nested roles, names, and bounding boxes, enabling UI inspection and automation.
Instructions
Get the accessibility tree of the active (or a named) window as a nested structure of roles, names and bounding boxes. Uses Windows UI Automation or Linux AT-SPI; returns an explanatory error when no accessibility backend is available.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window | No | ||
| max_depth | No |