create_webhook
Creates a Discord channel webhook and returns its URL token so you can post messages through it.
Instructions
Create a webhook in a channel (returns its URL token). [POST /channels/{channel_id}/webhooks]
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": {
"channel_id": "<channel_id>",
"name": "<name>"
},
"name": "create_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name | |
| avatar | No | ||
| reason | No | Reason (shown in the audit log) | |
| channel_id | Yes | Channel ID (text, voice, thread, forum or DM channel) |