discord_edit_dm
Edit the text content of a bot-sent direct message in Discord. Provide the recipient user ID, message ID, and new plain-text content to fully replace the existing message.
Instructions
Edit the text content of a DM message previously sent by this bot. Only the bot's own DM messages can be edited. Use discord_edit_dm_embed for embed messages. Returns a confirmation.
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>",
"message_id": "<message_id>",
"content": "<content>"
},
"name": "discord_edit_dm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | New plain-text content that fully replaces the existing message (max 2000 characters). | |
| user_id | Yes | Discord user ID (snowflake) of the DM recipient. | |
| message_id | Yes | ID of the target message within the DM conversation. |