get_shadow_dom_tree
Extract the complete shadow DOM tree as JSON from a specified host element, with configurable traversal depth.
Instructions
Return the full shadow DOM tree structure as JSON for a given host element.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hostSelector | Yes | CSS selector for the shadow host element | |
| maxDepth | No | Maximum depth to traverse | |
| tabId | No | Target tab ID (defaults to currently active tab) | |
| apiKey | No | API key for authentication if enabled |