glass_a11y_snapshot
Capture the active window's accessibility tree as compact text with element roles, names, bounds, and states. Use element IDs to interact; falls back to screenshot if no accessibility tree.
Instructions
Capture the active window's accessibility tree (semantic elements: role, name, window-relative bounds) as compact text — deterministic, low-token element addressing alongside screenshots. Each line is #<id> <Role> "<name>" (x,y wxh) [states]; pass an #id to glass_click_element. Errors if the backend or app exposes no accessibility tree (e.g. a canvas/black-box app) — fall back to glass_screenshot then.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||