computer.get_ui_tree
Retrieve the accessibility tree of a window to inspect UI elements by role, name, and bounding box. Uses Windows UI Automation or Linux AT-SPI, returning an error if no backend is available.
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 |