webhooks_delete_with_token
Delete a Discord webhook using its token when only the token is available, with confirmation and dry-run safeguards for this irreversible action.
Instructions
Purpose: Delete a webhook using its token. DESTRUCTIVE - IRREVERSIBLE.
When to use: - Self-decommission when the agent only holds the token.
Auth: NO Authorization: Bot … header. No audit_reason (Discord ignores it on token routes).
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>",
"token": "<token>"
},
"name": "webhooks_delete_with_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | Webhook secret - treat as credential, do not log | |
| __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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||