messages_publish
Publish a reviewed Discord announcement draft to a channel, including text, embeds, files, polls, and Components V2, with one-time approval to prevent unintended sends.
Instructions
Purpose: Publish a composed announcement through your Discord bot: text, embeds, file uploads, polls, and Components V2.
When to use: Send the reviewed messages_compose draft to a channel.
Approval: First call returns a bounded draft review, payload_hash, and one-time approval_id. With MCP_DRY_RUN=false, approve with __confirm:true, the unchanged __confirm_hash and __confirm_id.
Returns: status, sent_count, and a link/readback receipt for every known sent part. partial or unverified is not completion; inspect receipts and channel history before preparing a fresh approval for missing parts. Never resend the whole draft after partial delivery.
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": {
"channel_id": "<channel_id>"
},
"name": "messages_publish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tts | No | ||
| poll | No | ||
| files | No | ||
| embeds | No | ||
| content | No | ||
| __confirm | No | Authorize the exact payload supplied in this call after reviewing its summary. | |
| channel_id | Yes | Channel where the reviewed draft will be published | |
| components | No | ||
| __confirm_id | No | One-time approval ID returned by the preceding preview; expires shortly. | |
| __confirm_hash | No | SHA-256 payload_hash returned by the preceding preview. | |
| allowed_mentions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||