get_dom_tree
Fetch the page's DOM tree as JSON, including element IDs, tags, classes, roles, visibility, and bounds, to obtain element IDs for use with other tools.
Instructions
Get the DOM tree of the page as JSON. Each element has: id, tag, html_id, class, role, text, visible, bounds, children. Use element IDs from this tree in other tools.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |