delete_webhook_message
Delete a specific message from a Discord webhook by providing the webhook ID, token, and message ID. Use it to remove outdated or incorrect webhook messages and optionally log a reason in the audit log.
Instructions
Delete Webhook Message. [DELETE /webhooks/{webhook_id}/{webhook_token}/messages/{message_id}]
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": "delete_webhook_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Reason (shown in the audit log) | |
| message_id | Yes | Message ID | |
| webhook_id | Yes | Webhook ID | |
| webhook_token | Yes | Webhook token |