Send test webhook event
send_test_webhook_eventSimulate a webhook event (POST /emails/test) for CI or local webhook testing. Optionally deliver to subscribed endpoints.
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": {
"event": "<event>"
},
"name": "send_test_webhook_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event | Yes | Email event to simulate (email.received cannot be simulated — send a real inbound message) | |
| deliver | No | When true (default), enqueue delivery to account webhooks | |
| email_id | No | Optional existing email id (msg_…) | |
| webhook_id | No | Deliver to this one webhook endpoint only |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| payload | No | The simulated event payload, as a webhook would receive it | |
| delivered | No | True when it was sent to webhook endpoints | |
| deliveries | No |