Toggle Transactional Webhook (preview, then confirm)
toggle_transactional_webhookEnable or disable a transactional (Email API) webhook. A disabled webhook stops sending events until enabled again; needs webhook_id and active. Pausing (active: false) needs confirm: true after a preview. Enabling is refused if the webhook's URL can't be reached.
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": {
"webhook_id": "<webhook_id>",
"active": "<active>"
},
"name": "toggle_transactional_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| active | Yes | Set true to activate or false to deactivate | |
| confirm | No | Must be true to make the change. Leave it out first to get a preview, show it to the user, and ask them to confirm | |
| dry_run | No | Show what would change without changing anything | |
| webhook_id | Yes | Transactional webhook ID |