post_to_discord
Post a Discord announcement destructive
Description
Post to the user's Discord server. Free. With the Hermoso bot added it posts as the bot to channel (or the brand's default channel) with attachments up to 25 MB a message, replyTo, threadId (inside a thread), startThread (a thread under the post) and threadName (a forum channel); the messageId it returns ("<channel>/<message>") is what edit, delete and get_discord_message take. Without the bot it posts through the brand's announcement webhook (never the alert one): ≤2000 characters, files up to 20 MB attached (up to 10), larger ones as links. Mentions never ping unless mentions:true. EITHER WAY it can carry embeds (up to 10 rich cards, 6000 characters between them), a native poll (question, up to 10 answers, 1 to 768 hours; get_discord_poll reads the votes) and tts (read aloud). A webhook post can also take a display name and avatar for that one post (username, avatarUrl); crosspost:true (bot only) also publishes the post to every server that follows the announcement channel. Anything over a Discord limit is refused, never cut. Reactions are the only per-post number (get_discord_message). Not connected: connect_connector with provider discord and no fields returns the install link.
Parameters
| Parameter | Type | Description |
|---|---|---|
brand | string | WHICH PROFILE this post belongs to, for THIS CALL ONLY (beats the connection’s pin): an id or exact name from list_brands. A name that matches no profile, or two, is REFUSED and nothing is posted. |
hook | string | the post's angle — a list_hooks id or your own wording, reused exactly |
subject | string | what the post is about |
recipe | string | the post's FORMAT id, e.g. "slideshow" or "imessage_chat" — post_performance groups by it, so reuse one id per format |
ideaId | string | short id of the content-plan idea this post came from |
idempotencyKey | string | any stable string: a repeat within 24h returns the original post instead of posting again |
allowDuplicate | boolean | post it even though an identical post was just made |
text | string | the announcement, ≤2000 characters |
embeds | object[] | up to 10 embeds: { title (256), description (4096), url, color ("#5865F2" or a number), fields: [{ name (256), value (1024), inline }] (25), author: { name (256), url, iconUrl }, footer: { text (2048), iconUrl }, image, thumbnail (links), timestamp (ISO or "now") } |
poll | object | a native poll: { question (300), answers: ["..", { text (55), emoji }] (up to 10), durationHours (1-768, default 24), multiselect }. A poll cannot be edited after posting |
tts | boolean | a text-to-speech message, read aloud to people who have the channel open |
crosspost | boolean | HERMOSO BOT, announcement channels: also publish it to every server that follows the channel (cannot be undone) |
avatarUrl | string | webhook posts only: an avatar image link for this one post |
imageUrl | string | |
imageUrls | string[] | up to 10 files in one message |
videoUrl | string | |
mentions | boolean | let @everyone / @here / role mentions ping people (off by default) |
silent | boolean | post without a notification |
threadName | string | required when the channel is a FORUM channel: the new thread title |
username | string | webhook posts only: a different display name than the webhook's own |
discordServer | string | HERMOSO BOT: which Discord server (id or name) when the bot is in several |
channel | string | HERMOSO BOT: channel id or #name (list_discord_channels); unset = the default channel |
replyTo | string | HERMOSO BOT: reply to this message id |
threadId | string | HERMOSO BOT: post inside this existing thread |
startThread | string | HERMOSO BOT: start a thread under the new post with this title |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/post_to_discord.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"post_to_discord","arguments":{}}}
CLI
hermoso call post_to_discord --json '{}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
get_discord_messageRead a Discord announcementget_discord_pollRead a Discord pollconnect_connectorConnect a paste-a-key accountedit_discord_messageEdit a Discord announcementdelete_discord_messageDelete a Discord announcementpost_to_slackPost a Slack announcement