Accessibility Snapshot
ax_snapshotWalk an app's accessibility tree to inspect UI elements—roles, titles, values, and more—and obtain handles for subsequent interactions. Requires Accessibility permission.
Instructions
Walk the accessibility (AXUIElement) tree of an app or a specific window, returning role/title/value/description/identifier/enabled/frame per node plus an elementHandle usable with ax_invoke/ax_set_value. Depth- and node-count-capped. Requires Accessibility permission.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | Target application pid. Required unless windowHandle is given. | |
| maxDepth | No | Defaults to 20. | |
| maxNodes | No | Defaults to 500. | |
| windowHandle | No | A windowHandle from window_list, to scope the walk to one window instead of the whole app. |