Delete webhook
delete_webhookRemove a Discord webhook by its name or ID. Requires the Manage Webhooks permission.
Instructions
Remove a webhook by name or id. Requires Manage Webhooks permission.
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": "<webhook>"
},
"name": "delete_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | No | Server (guild) name or id. Optional when the bot is in a single server or DISCORD_GUILD_ID is set. | |
| webhook | Yes | Webhook to delete (name or id). |