delete_webhook
Permanently remove a webhook by its ID from a Discord server. Use it to clean up unused or unwanted webhooks and optionally log an audit reason.
Instructions
Delete a webhook by 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": {
"webhookId": "<webhookId>"
},
"name": "delete_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Audit log reason | |
| webhookId | Yes | Webhook ID to delete |