Send message
send_messagePosts a message to a Discord channel with text, embeds, files, or a Components V2 layout, optionally as a reply, and can preview the result with dry_run before sending.
Instructions
Send a message to a channel, optionally as a reply, with embeds, or as a Components V2 layout of text, sections, image galleries, separators and link buttons inside colored containers, and with up to 10 files fetched from public URLs. Components replace content and embeds rather than joining them, and the choice is permanent for that message; in a layout, a file shows only where a gallery or thumbnail points at it as attachment://. For a private message to one person use send_dm; to post under a custom name and avatar use send_webhook_message; to send later use schedule_message. Mentions are suppressed by default; raise the mentions mode only deliberately. Supports dry_run.
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": "<channel>"
},
"name": "send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | Up to 10 files to attach, each fetched from a public URL (20 MiB each). Needs the Attach Files permission. | |
| guild | No | Guild (server) name or ID. Omit to use the default guild. | |
| embeds | No | Up to 10 embeds. Each needs a title, a description, an author, fields, a footer, or a picture. Discord allows 6,000 characters of text across all of one message's embeds. | |
| silent | No | Send without triggering notifications. | |
| channel | Yes | Channel name or ID. | |
| content | No | Message text. May be left out when embeds, files, or components carry the message. | |
| dry_run | No | Preview without sending. | |
| mentions | No | Which mention types may ping. Default none. | |
| reply_to | No | Message to reply to: its ID or link. | |
| components | No | Rich layout, in place of content and embeds. Sending this sets the Components V2 flag, which is permanent for that message: it can never show plain content or embeds afterward, so the two cannot be combined. |