Publish the saved preview
publish_draftPublishes the exact saved preview for a user-authorized draft after revalidating content, images, accounts, and limits; any edits require a new preview.
Instructions
Use only for user-authorized publication. Publish exactly the saved preview identified by draftId, expectedRevision and previewId. Content/images/accounts/limits are revalidated; edits require a new preview. Preserve requestId on every retry. Published includes receipts; uncertain results become NeedsReview (never retry). Failed means nothing was sent (or the rest of a thread): retrying with the same requestId continues it. Never bypass this with publish_post.
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": {
"draftId": "<draftId>",
"expectedRevision": "<expectedRevision>",
"previewId": "<previewId>",
"requestId": "<requestId>"
},
"name": "publish_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draftId | Yes | ||
| previewId | Yes | ||
| requestId | Yes | Stable unique ID for this user-authorized action. Reuse it on retries; never change it to bypass an uncertain result. | |
| expectedRevision | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| success | Yes |