webhooks_modify_with_token
Updates a webhook's name and avatar using its token alone, so you can modify webhooks without bot auth or guild access. Provide webhook_id and token to apply changes.
Instructions
Purpose: Update a webhook (name + avatar only) using its token, no bot auth.
When to use: - You hold the token but lack guild access.
Restrictions: - Cannot move the webhook (channel_id not accepted on this route - use webhooks_modify). - Discord does not record audit reasons on token-auth routes, so audit_reason is intentionally absent.
Auth: NO Authorization: Bot … header.
Returns: Updated webhook record. name remains raw creator-controlled data; untrusted_name provides a separately fenced copy.
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>",
"token": "<token>"
},
"name": "webhooks_modify_with_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New display name | |
| token | Yes | Webhook secret - treat as credential, do not log | |
| avatar | No | base64-encoded image data URI, or null to clear | |
| webhook_id | Yes | Webhook to modify |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||