Publish Landing Page
page.publishPublish the latest page revision. Call this only when the user's latest message explicitly asks to publish, make the page live, or get a public share link. Do not call this immediately after page.create or page.create_from_brief just because the draft is publish-ready. For anonymous demo pages, include the editToken returned by page.create. The response includes nextSteps: always share these with the user after publishing — they include the claim reminder and any remaining improvements.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | The pageId returned by page.create. | |
| editToken | No | Required for anonymous demo pages. Use the editToken returned by page.create. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| slug | Yes | ||
| title | Yes | ||
| pageId | Yes | ||
| status | Yes | ||
| actions | Yes | ||
| content | No | ||
| claimUrl | Yes | ||
| editToken | Yes | ||
| expiresAt | Yes | ||
| isClaimed | Yes | ||
| nextSteps | No | Enrichment hints to present to the user. Address 'required' items before publishing. | |
| canPublish | Yes | ||
| previewUrl | Yes | ||
| isPublished | Yes | ||
| publishedUrl | Yes | ||
| missingFields | No | ||
| publishPolicy | No | For edit tools on already-published pages, this is wait_for_separate_user_request to prevent same-turn publishing. | |
| liveUpdateMessage | No | Plain-language instruction explaining that an edit to an already-published page is draft-only and must not be published until a later explicit user request. | |
| liveUpdateRequired | No | True after an edit to an already-published page when the public live page still needs page.publish to reflect the latest revision. |