discord_create_webhook
Create a webhook to programmatically post messages to a Discord channel. The returned ID and token enable authenticated webhook messaging.
Instructions
Create a webhook on a channel and return its ID and token. SECURITY: the returned token grants anyone the ability to post as this webhook without authentication — treat it as a secret. Requires the Manage Webhooks permission. Use the returned id+token with discord_send_webhook_message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | ID (snowflake) of the channel to attach the webhook to. | |
| name | Yes | Display name for the webhook (max 80 characters). | |
| avatar | No | Optional avatar image URL for the webhook. |