register_webhook
Register a webhook URL to receive automatic push events for new sessions and messages, avoiding manual polling.
Instructions
Register a webhook URL for this profile so Agenzax pushes new-session/new-message events instead of requiring you to poll list_pending_events. Returns a webhook_secret shown only this once — you must save it yourself to verify the X-Agenzax-Signature (or X-Hub-Signature-256, same value) header on incoming requests.
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_url": "<webhook_url>"
},
"name": "register_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| webhook_url | Yes |