discord_send_dm
Send a private direct message to a Discord user by their user ID. Use it to reach a user outside server channels; returns the new message ID.
Instructions
Send a private direct message to a user by their user ID. Use discord_send_message to post in a server channel instead. Requires the bot to share at least one server with the user, and the user must allow DMs from server members (otherwise Discord rejects the send). Returns the new message ID. Use discord_send_dm_embed for an embed, or discord_reply_dm to reply to a message. With DISCORD_ALLOWED_GUILDS set, the user must be a member of a listed server.
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>",
"content": "<content>"
},
"name": "discord_send_dm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Plain-text body of the DM (max 2000 characters). | |
| user_id | Yes | Discord user ID (snowflake) of the DM recipient. |