Webhook Tools
Webhook lifecycle operations.
Webhook tools can expose cross-channel or cross-guild behavior if they are not
constrained carefully. Prefer explicit X-Target-Guilds and
X-Target-Channels headers when using them in user-driven flows.
create_webhook #
- Purpose: create a channel webhook.
- Key arguments: channel scope,
name. - Optional fields:
avatar,reason. - Response shape:
- returns a usable webhook
url - returns
tokenon creation so the new webhook can be used immediately
list_channel_webhooks #
- Purpose: list webhooks for one channel.
- Key arguments: channel scope.
- Response shape:
- includes
url - does not return
token
list_guild_webhooks #
- Purpose: list webhooks for one guild.
- Key arguments:
guild_idorguild_name. - Response shape:
- includes
url - does not return
token
get_webhook #
- Purpose: fetch one webhook.
- Key arguments:
webhook_id. - Notes:
- The Discord MCP resolves webhook metadata before applying some target checks.
- Response shape:
- keeps
urlvisible - keeps
tokenonly when the webhook belongs to the current bot - otherwise returns a masked
token
edit_webhook #
- Purpose: edit webhook attributes.
- Key arguments:
webhook_id. - Optional fields:
name,avatar,channel_idorchannel_name. - Response shape:
- keeps
urlvisible - does not return
token
delete_webhook #
- Purpose: delete a webhook.
- Key arguments:
webhook_id.