get_element_tree
Extract the accessibility tree for a specific element, returning a Markdown hierarchy of interactive and text nodes. Use this to get context about a panel, modal, or component without fetching the entire page.
Instructions
Extract the semantic surface (accessibility tree) for a specific element and its descendants. Returns a Markdown-formatted hierarchical list of nodes containing interactive or text elements. Use this when you need context about a specific panel, modal, or component without fetching the entire page.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frameIndex | No | Target frame index (optional, defaults to automatic detection if backendNodeId is used). | |
| semanticOnly | No | Filter out structural-only nodes (default: true) | |
| backendNodeId | Yes | The backend DOM node ID of the root element to inspect |