send_dm
Sends a direct message to a Discord user by ID, opening the DM when needed. Use it to deliver private messages, attachments, polls, or replies to a specific user.
Instructions
Send a direct message to a user by user ID (opens the DM if needed).
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": {
"user_id": "<user_id>"
},
"name": "send_dm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tts | No | ||
| poll | No | Raw poll object (or use create_poll) | |
| files | No | Files to attach (each: path, url or data_base64) | |
| embeds | No | Embeds (bots/webhooks only) | |
| silent | No | @silent: send without notifications | |
| content | No | Message text (Markdown; mention users with <@id>, channels with <#id>, roles with <@&id>, custom emoji <:name:id>) | |
| user_id | Yes | User ID | |
| reply_to | No | Message ID (or link) to reply to | |
| components | No | Components (bots only) | |
| sticker_ids | No | Up to 3 sticker IDs | |
| mention_reply | No | Ping the author of the replied message (default true) | |
| suppress_embeds | No | Hide link previews | |
| allowed_mentions | No | {parse:["users","roles","everyone"], users:[], roles:[], replied_user} |