set_webhook
Register an HTTPS webhook URL to receive Viber bot events. Specify event types and optionally include sender name or photo in callbacks.
Instructions
Register a webhook URL for receiving Viber events
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": {
"url": "<url>"
},
"name": "set_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | HTTPS URL with valid CA-issued SSL cert | |
| event_types | No | Defaults to all events if omitted | |
| send_name | No | Include sender name in callbacks | |
| send_photo | No | Include sender photo in callbacks |