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 | Webhook event type to simulate | |
| tenant | No | Put this tenant on the test event, to test endpoints that only receive some tenants. The tenant's external id (your id for that customer) or its Groundmail id | |
| deliver | No | When true (default), enqueue delivery to account webhooks | |
| email_id | No | Optional existing email id (msg_…) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when the simulated event was built | |
| payload | No | The event payload that was (or would be) delivered | |
| delivered | Yes | True when delivery to subscribed endpoints was started | |
| deliveries | No | Per-endpoint results when delivery ran synchronously; empty otherwise |