webhooks_delete_with_token
webhooks_delete_with_token
Section titled “webhooks_delete_with_token”Category: webhooks
Delete a webhook using its token. DESTRUCTIVE — IRREVERSIBLE.
When to use
Section titled “When to use”- Self-decommission when the agent only holds the token.
When NOT to use
Section titled “When NOT to use”| Field | Type | Required | Description |
|---|---|---|---|
webhook_id | string | yes | Webhook to delete |
token | string | yes | Webhook secret — treat as credential, do not log |
Returns
Section titled “Returns”\{deleted, webhook_id\}. Pass __confirm:true AND set MCP_DRY_RUN=false to actually delete.
Output schema
Section titled “Output schema”| Field | Type | Required | Description |
|---|---|---|---|
deleted | boolean | yes | |
webhook_id | string | yes | Discord webhook ID |
Annotations
Section titled “Annotations”| Property | Value |
|---|---|
| Read-only | no |
| Destructive | yes |
| Idempotent | yes |
| Open-world | yes |
| Confirmation required | yes (__confirm:true required) |