discord_delete_webhook_message
Permanently deletes a message sent through a webhook using the webhook ID, token, and message ID; no bot permission is needed because the token authorizes this irreversible call.
Instructions
Permanently delete a message that was sent through a webhook, using the webhook's ID and token. IRREVERSIBLE. No bot permission is needed: the token authorizes the call. To delete the webhook itself, use discord_delete_webhook.
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": {
"webhook_id": "<webhook_id>",
"webhook_token": "<webhook_token>",
"message_id": "<message_id>"
},
"name": "discord_delete_webhook_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_id | Yes | ID of the webhook message to delete. | |
| webhook_id | Yes | ID (snowflake) of the webhook that sent the message. | |
| webhook_token | Yes | Secret token of the webhook. |