Delete webhook
delete_webhookDelete a Discord webhook to stop all posting through it. The first call returns a preview and confirm_token; repeat with the token to complete deletion.
Instructions
Delete a webhook. Anything still posting through it stops working. Safe to call directly: the first call changes nothing and returns a preview plus a confirm_token; repeating the call with the token deletes it.
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 |
|---|---|---|---|
| guild | No | Guild (server) name or ID. Omit to use the default guild. | |
| reason | No | ||
| dry_run | No | ||
| webhook | Yes | Webhook name or ID. | |
| confirm_token | No | The token from this exact action's preview. Where the app can show a confirmation dialog, calling with it asks the user there, and it happens only if they agree. |