glass_a11y_snapshot
Read the current accessibility snapshot of a native GUI app, with element IDs, roles, labels, values, bounds, and states. Use it to inspect the UI's semantic state before interacting or verifying.
Instructions
Read current semantic state: IDs, roles, name/description, bounded editable value, bounds and states. Values can be absent, redacted or truncated; use wait_for_element for exact verification. IDs refresh each snapshot. A childless Document notice calls for one fresh read, then pixels; an unpublished-content placeholder requires pixels. Errors without an accessibility tree; use glass_screenshot. Batch known actions and checks with glass_do.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_nodes | No | Node cap; omit for server default, 0 for unlimited. Changing the cap renumbers IDs; re-read them. |