discord_list_webhooks
List webhooks for a Discord channel or entire server by providing channel_id or guild_id; retrieve webhook IDs, names, channels, creators, and visible tokens. Requires Manage Webhooks.
Instructions
List the webhooks in a single channel or across a whole server (id, name, channel, token when visible, creator). Provide exactly one of channel_id or guild_id. Requires the Manage Webhooks permission. SECURITY: a returned token lets anyone post as that webhook; treat it as a secret. Pass the id and token to discord_send_webhook_message, or create a webhook with discord_create_webhook.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "discord_list_webhooks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guild_id | No | Discord server (guild) ID (snowflake) to list all webhooks for. Mutually exclusive with channel_id. | |
| channel_id | No | ID (snowflake) of a channel to list webhooks for. Mutually exclusive with guild_id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| webhooks | Yes |