get_page_html
Retrieve raw outerHTML of page elements using CSS selectors, or full page HTML. Inspect markup structure for SEO, accessibility, or DOM analysis.
Instructions
Return the raw outerHTML of matching elements, or the full page HTML if no selector, truncated to max_length. Returns the HTML string(s). Use to inspect component/markup structure — e.g. head meta tags for SEO, or a widget's DOM. Standard CSS selectors only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No | CSS selector (optional — omit for full page HTML) | |
| max_length | No | Max characters to return (default: 50000) | |
| session_id | Yes | Session ID |