wrave_get_dom_tree
Extract a clean, LLM-friendly DOM tree with bounding boxes and interactive element metadata for a specified tab, optionally including full HTML and configurable nesting depth.
Instructions
Extract clean, LLM-friendly DOM tree with bounding boxes [x, y, w, h] and interactive element metadata.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | Return full HTML if true | |
| tab_id | Yes | The ID of the tab | |
| max_depth | No | Max tree nesting depth |