get_html
Retrieve the full outerHTML of a DOM element matched by a CSS selector. Use this to inspect detailed markup structure when summary data is insufficient.
Instructions
Return the outerHTML of an element (capped at 50 KB). Use this when the summarised query_dom output isn't enough and you need to see the actual markup/structure of a region. Read-only: it only reads the DOM and makes no changes, and it returns an error if the selector matches nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | A CSS selector for the region to dump, e.g. '#app' or '.modal'. If several match, the first in document order is used. Scope it tightly: the outerHTML is capped at 50 KB. |