create_webhook
Register a new webhook to receive event notifications such as SMS delivery reports or MO messages. Specify target URL and event type to trigger callbacks.
Instructions
Register a new webhook
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": {
"target_url": "<target_url>",
"event_type": "<event_type>"
},
"name": "create_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_url | Yes | Webhook URL to receive events | |
| event_type | Yes | Event type to trigger webhook (e.g., sms.mo, dlr) | |
| request_method | No | HTTP method for webhook requests | |
| event_filter | No | Filter events by phone number or other criteria | |
| headers | No | Custom HTTP headers to send with webhook requests. Multiple headers separated by line breaks |