update_webhook
Configure a webhook endpoint URL and event subscriptions to receive real-time mailbox notifications, with optional pause control.
Instructions
Configure webhook endpoint URL and event subscriptions for real-time notifications. Outbound events are mail.pending_approval, mail.submitted, mail.ready, mail.mailed, mail.delivered, mail.failed, and mail.cancelled. Canonical physical-custody events are inbound.received and inbound.scan_available. The endpoint needs HTTPS and a 2xx response within 10 seconds.
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": "update_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | No | Set to false to pause webhook delivery without removing the URL. | |
| event_types | No | Array of event types to subscribe to (e.g. ["mail.mailed", "inbound.received"]). Empty array disables all events. | |
| webhook_url | No | HTTPS URL that receives webhook POST requests and answers 2xx within 10 seconds. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Webhook configuration status. |