Get the page HTML source
browser_page_sourceRetrieve the serialized DOM of a browser tab after scripts execute, capturing the rendered page state rather than the original network source.
Instructions
Return the serialised DOM of a tab (document.documentElement.outerHTML). This is what the page looks like after scripts ran. It is NOT the original bytes on the wire, so it is not the same as the View Source menu item — use the network tools if the raw response matters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Tab (default: the active tab) | |
| maxChars | No | Truncate the result (default 20000) |