browser_get_dom
Extracts a tab’s title, URL, compact DOM, indexed interactive elements with refs, and clean text so agents can inspect page structure and choose actions.
Instructions
Extracts the page title, URL, token-dense compact DOM representation, indexed interactive elements with refs, and clean text of the tab.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | No | Optional tab ID. | |
| includeLinks | No | Whether to include standalone links array (defaults to false as elements already index links). | |
| maxTextLength | No | Maximum characters of body text to extract (defaults to 3000 to save tokens). |