Read a page's HTML
get_page_htmlGet the HTML of a page shared as HTML, exactly as it was uploaded, so you can make the changes reviewers asked for and publish the result with update_page. Call it before editing when you don't already have the page's code in this conversation. Defaults to the latest version. Pages over about 400 KB come back in parts: call again with the next_offset it gives. For a live website it returns the site's current HTML for reference only, since the site is changed in its own code or builder. PDFs have no HTML.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"page": "<page>"
},
"name": "get_page_html"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | Which page: its name, its review link (/v/...) or its manage link. | |
| offset | No | Optional. Where to start, for a big page: the next_offset from the previous call. Default 0. | |
| version | No | Optional. The version to read, as shown by list_versions. Default: the latest. |