Update Webhook
update-webhookModify an existing Emailit webhook by ID or name to change its URL, name, subscribed events, or enabled status.
Instructions
Update an existing webhook. Can be identified by ID (wh_xxx) or name. At least one field must be provided.
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": {
"id": "<id>"
},
"name": "update-webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The webhook ID (wh_xxx) or name. | |
| url | No | New URL (SSRF-validated). | |
| name | No | New name for the webhook. | |
| events | No | Replace subscribed event types. Ignored when all_events is true. | |
| enabled | No | Enable or disable the webhook. | |
| all_events | No | Subscribe to all events. Setting true clears specific events. |