Skip to content

webhooks_delete_with_token

Category: webhooks

Delete a webhook using its token. DESTRUCTIVE — IRREVERSIBLE.

  • Self-decommission when the agent only holds the token.
FieldTypeRequiredDescription
webhook_idstringyesWebhook to delete
tokenstringyesWebhook secret — treat as credential, do not log

\{deleted, webhook_id\}. Pass __confirm:true AND set MCP_DRY_RUN=false to actually delete.

FieldTypeRequiredDescription
deletedbooleanyes
webhook_idstringyesDiscord webhook ID
PropertyValue
Read-onlyno
Destructiveyes
Idempotentyes
Open-worldyes
Confirmation requiredyes (__confirm:true required)

packages/mcp-core/src/tools/webhooks/delete_with_token.ts