Publish
publishMake the page live at https://.pageree.app by publishing its draft. Save the page with save_draft first — this tool takes no HTML, it promotes whatever the draft currently holds. PUBLISHING IS THE USER'S DECISION: it is the moment the page becomes public. NEVER call it in the same turn as save_draft. Always show the preview URL first and wait for the user to look at it and approve in a later message — even if they opened with "get it live", "host it" or "publish it": that tells you the goal, not that they have seen this page. Each publish is an immutable version; use list_versions and rollback to manage them. The draft is consumed — continuing to edit means saving a new one.
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": {
"pageId": "<pageId>",
"changelog": "<changelog>"
},
"name": "publish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | The page to publish, as returned by save_draft. | |
| changelog | Yes | Short summary of what changed in this version and why (shown in version history and used by the optimize loop). |