discord_delete_message
Permanently deletes one specific Discord message using its channel and message ID; this action is irreversible and requires the necessary Discord permissions.
Instructions
Permanently delete one specific message. IRREVERSIBLE. Requires the View Channel and Read Message History permissions to find the message. The bot can then delete its own messages; deleting another user's message also requires the Manage Messages permission. Use discord_bulk_delete_messages to remove many at once. Discord does not record a reason for a single message delete in the audit log. Use discord_delete_dm for a DM, or discord_delete_webhook_message to delete a webhook's message with its token.
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": {
"channel_id": "<channel_id>",
"message_id": "<message_id>"
},
"name": "discord_delete_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Optional. Not recorded: Discord keeps no audit log reason for a single message delete. | |
| channel_id | Yes | ID (snowflake) of the channel or thread containing the message. | |
| message_id | Yes | ID of the message to delete. |