get_html
Retrieve cleaned body HTML from a browser tab, or outerHTML of the first element matching a CSS selector, with optional character truncation.
Instructions
Get HTML source. Without selector: cleaned body HTML. With selector: outerHTML of the first match.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | No | ||
| maxChars | No | Truncate to this many chars (default 40000) | |
| selector | No |