get_accessibility_tree
Returns interactive elements with semantic roles and indices, enabling AI agents to understand UI structure and perform actions like clicking.
Instructions
Retrieve a simplified accessibility tree of the current page.
Purpose
Returns interactive elements with semantic roles so AI agents
can understand UI meaning (buttons, links, inputs, dropdowns).
Returned index values map directly to click_element.
Parameters
session_id : str Active browser session identifier.
Returns
dict { "session_id": str, "count": int, "nodes": [{"index": int, "role": str, "name": str, "tag": str, "id": str, "name_attr": str, "placeholder": str, "aria_label": str}], "status": str, "message": str }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes |