modify_webhook_with_token
Update a Discord webhook's name or avatar using its ID and token, and optionally record an audit-log reason for the change.
Instructions
Modify Webhook with Token. [PATCH /webhooks/{webhook_id}/{webhook_token}]
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_id": "<webhook_id>",
"webhook_token": "<webhook_token>"
},
"name": "modify_webhook_with_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name | |
| avatar | No | ||
| reason | No | Reason (shown in the audit log) | |
| webhook_id | Yes | Webhook ID | |
| webhook_token | Yes | Webhook token |