publish_draft
Make a draft live on the web, with optional email to subscribers. Emailing is opt-in, as unsending an email is impossible.
Instructions
Publish a draft. The post goes live on the web; send additionally emails it to subscribers and defaults to false, because an email cannot be recalled. Publishing cannot be undone from this server — there is no unpublish tool.
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": {
"draft_id": "<draft_id>"
},
"name": "publish_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| send | No | Whether to email the post to subscribers. Defaults to false: the post goes live on the web either way, but an email cannot be unsent, so this must be asked for explicitly. | |
| draft_id | Yes | The numeric id of the draft to publish, as returned by list_posts (`id`) or create_draft_post (`draft_id`). |