Switch live version
publish_versionMake an approved version that is waiting to publish live, or roll back to an earlier approved version. Existing versions and comments remain. Call only after the user explicitly approves publishing or rolling back. Approved uploads without hold may already have become live. quiet=true makes this switch notify no one (workspace people or subscribers) — use it for routine refreshes, not for the version people need to know about; releasing a held version keeps the quiet choice made at upload unless you pass it. Keywords: publish · web page · webpage · link · share · share to WeChat · WeChat link · html · pdf · markdown · upload · LivePage · proposal.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "publish_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | Restore to update n (author bar history / ?v= in the address); omit to publish the change readers have not seen | |
| tag | No | Optional: the tag this version gets when it goes live (a string = the tag name, such as 2026-10-28 / v2 final; or {name, title, note}). On a tagged page readers see the newest tagged version and can browse every tagged one (past issues); an existing tag name moves to this version. Daily reports use the day's date. Omitted: a page that has never been tagged behaves exactly as today; on a tagged page this version takes over the tag readers are looking at | |
| note | No | What changed this time: one line for subscribers and teammates, 20 characters or fewer, for example “Revised pricing after client feedback”. It appears in the update reminder; without it the reminder only says the version number, and the platform will not make one up. | |
| quiet | No | true = no notification this time: when this version goes live, neither workspace people nor readers subscribed to this page are notified; subscribers are notified as usual on the next update. Use it for routine updates such as typo fixes or scheduled automatic refreshes; do not pass it on the version people need to know about (something changed) | |
| version_id | No | Advanced: name a version id directly; normally pass only proposal_id | |
| proposal_id | No | The page; required when version_id is not given |