get_page_source
Retrieve the current HTML of a web page, including script-modified DOM, to access raw markup like meta tags or hidden fields.
Instructions
Return the page's current HTML (the live DOM, including changes made by scripts), cut off at maxLength characters. Returns the HTML, its full length, and whether it was truncated. It is large and noisy: to find elements to act on, prefer capture_page; to read specific text or values, use get_text or get_attribute. Use this for raw markup such as meta tags, hidden fields, or inline data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxLength | No | Maximum characters of HTML to return, 100-500000 (default 50000). Longer pages are truncated. |