webhooks_delete
Permanently deletes a Discord webhook by ID to decommission stale or compromised endpoints. Requires explicit confirmation and a non-dry-run server setting since the action is irreversible.
Instructions
Purpose: Delete a webhook by id. DESTRUCTIVE - IRREVERSIBLE.
When to use: - Decommission a stale or compromised webhook.
Returns: {deleted, webhook_id}. Pass __confirm:true AND set MCP_DRY_RUN=false to actually delete.
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>"
},
"name": "webhooks_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| __confirm | No | Set true to authorize this destructive operation. Also requires the server to run with MCP_DRY_RUN=false; otherwise a DRY_RUN_PREVIEW is returned. | |
| webhook_id | Yes | Webhook to delete | |
| audit_reason | No | Reason recorded in audit log (X-Audit-Log-Reason header) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||