discord_publish_announcement
Publish structured Discord announcements with a title, body, fields, color, and optional ping; builds the embed and keeps mentions safe by default, with optional crossposting.
Instructions
Publish a structured announcement to a channel in one call: a title, a body, optional fields, a colour, and an optional ping target. Builds the embed for you so the layout is consistent, and lets you choose the mention policy explicitly instead of relying on the default. SAFE BY DEFAULT for mentions: no mention is parsed unless you pass ping (so '@everyone' inside the body never actually pings). If the channel is an announcement channel and crosspost is true, the message is also published to followers. Requires Send Messages (and Manage Messages to crosspost others' messages).
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>",
"title": "<title>",
"body": "<body>"
},
"name": "discord_publish_announcement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Announcement body (Markdown supported). | |
| ping | No | Who to notify. Default 'none': nothing in the body can ping anyone. | none |
| color | No | Side-bar colour. | #5865F2 |
| title | Yes | Announcement title. | |
| fields | No | Extra embed fields (max 25). | |
| footer | No | Footer text. | |
| crosspost | No | Also publish to announcement-channel followers, when the channel supports it. | |
| channel_id | Yes | Channel to publish in. | |
| ping_role_id | No | Role to ping when ping is 'role'. Required in that case. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pinged | Yes | ||
| channel_id | Yes | ||
| message_id | Yes | ||
| crossposted | Yes |