Skip to content

webhooks_modify

Category: webhooks

Update a webhook (rename, re-avatar, move to a different channel).

  • Change the channel a webhook posts to (channel_id) — only available on the bot-auth path.
FieldTypeRequiredDescription
webhook_idstringyesWebhook to modify
namestringnoNew display name
avatarunknownnobase64-encoded image data URI for the avatar, or null to clear
channel_idstringnoMove the webhook to this channel
audit_reasonstringnoReason recorded in audit log (X-Audit-Log-Reason header)

Updated webhook record (no token). name wrapped untrusted.

FieldTypeRequiredDescription
idstringyesDiscord webhook ID
typeintegeryes
channel_idunknownyes
application_idunknownyes
nameunknownyes
avatarunknownyes
untrusted_namestringyes
PropertyValue
Read-onlyno
Destructiveno
Idempotentyes
Open-worldyes
Confirmation requiredno

packages/mcp-core/src/tools/webhooks/modify.ts