upsertWebhookConfiguration
Set up or update webhook notifications for agent call events by specifying agent ID, event name, and HTTPS endpoint. Enable or disable the configuration to trigger automated callbacks.
Instructions
Create or update a webhook configuration for an agent + event.
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": {
"agent_id": "<agent_id>",
"event_name": "<event_name>",
"webhook_url": "<webhook_url>"
},
"name": "upsertWebhookConfiguration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Agent id | |
| event_name | Yes | e.g. on_call_start / on_call_end | |
| is_enabled | No | ||
| owner_email | No | Ignored for user API keys; required only with system API key | |
| webhook_url | Yes | HTTPS endpoint | |
| webhook_secret | No |