Outbox: publish a draft
outbox_go_livePublish a draft page to restore its stored visibility and make unlisted or public pages visible to others. Set draft:true to return it to draft mode and generate a share preview link.
Instructions
Takes a page out of draft mode so it gets its stored visibility (private/unlisted/public) and emits page.published; unlisted/public pages become visible to others. draft:true turns it back into a draft and returns a previewUrl (a share link that expires in 7 days). Without share|template scope on the slug the draft is still set but no link is created and the response carries previewSkipped:'missing_share_scope' (tell the user to review it on the web).
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": {
"slug": "<slug>"
},
"name": "outbox_go_live"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Slug of the draft page | |
| user | No | Page owner username (default: the connected account) | |
| draft | No | false (default) = go live; true = back to draft |