discord_send_dm
Send a direct message to a member of a Discord server the bot belongs to, with membership and safety checks; delivery fails if the recipient blocks server-member DMs.
Instructions
Send a direct message to a member of a server the bot is in. Refused if the user is not a member of that server or a safety limit applies; fails if the user does not accept DMs from server members.
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": {
"guildId": "<guildId>",
"userId": "<userId>",
"message": "<message>"
},
"name": "discord_send_dm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | The ID of the user to send the direct message to. | |
| guildId | Yes | The server (guild) the recipient must be a member of. | |
| message | Yes | The content of the direct message (max 2000 characters). |