Publish a new version of a page
update_pageReplace one of the user's HTML pages with a new version on the same review link, so the client sees the update without a new link. The new version starts with no comments; earlier versions keep theirs. Get the current code with get_page_html if you don't have it. Only for pages shared as HTML, not live websites. To bring back an earlier version, use restore_version; to rename the page or set a due date, use update_page_settings.
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>",
"html": "<html>"
},
"name": "update_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | The full new HTML document. | |
| note | No | Optional short note for that email, like what changed. | |
| page | Yes | Which page: its name, its review link (/v/...) or its manage link. | |
| version_name | No | Optional short name for the new version, like "Shorter hero, new photo". Shown in the version menu. | |
| notify_reviewers | No | Email everyone who commented that a new version is ready. Ask the user first. |