get_accessibility_tree
Retrieve the page or element accessibility tree to understand form structures and component roles, names, and values; optionally focus on a specific element.
Instructions
[Agent Browser] Get the accessibility tree for the page or a specific element. Cleaner than DOM for understanding form structures and component purposes. Returns roles, names, values in a YAML-like hierarchical format. Optional selector to focus on a specific element.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_accessibility_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No | ||
| max_length | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| hints | No | ||
| message | No | ||
| success | No | ||
| suggestions | No |