Send direct message
send_dmSends a direct message from the Discord bot to a member who shares a server, using a member name or ID and optional guild; returns a clear failure when the recipient has DMs closed.
Instructions
Send a direct message from the bot to a member who shares a server with it. Fails gracefully when the recipient has DMs closed. The message comes from the bot, never from a user account.
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": "<user>",
"content": "<content>"
},
"name": "send_dm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | Member name or user ID. | |
| guild | No | Guild (server) name or ID. Omit to use the default guild. | |
| content | Yes |