Update Webhook
update_webhookUpdate an incoming webhook (by id) on a room the account owns — e.g. change its icon, title, message, or sound.
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": {
"invite_code": "<invite_code>",
"webhook_id": "<webhook_id>"
},
"name": "update_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icon | No | A v3 room-icon catalog id, e.g. "bell". Call list_room_icons to discover the valid ids. | |
| name | No | Webhook name (shown to the owner). | |
| color | No | Hex color, e.g. "#e33122". | |
| sound | No | Canonical sound id, e.g. "ting". | |
| title | No | Push title used when the webhook fires. | |
| enabled | No | Whether the webhook is active. | |
| message | No | Default push body (max 120 characters in private rooms, 160 in public rooms). | |
| webhook_id | Yes | Webhook id (from list_webhooks or create_webhook). | |
| invite_code | Yes | Room invite code. | |
| action_number | No | Quick-action slot whose label, sound, and acknowledgement preset fires use. Pass null to clear the preset and make the webhook independent. | |
| cooldown_seconds | No | Minimum seconds between fires. | |
| regenerate_secret | No | Rotate the secret trigger URL. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | An incoming webhook. `webhook_url` embeds the secret — treat it as a credential. |