set_webhook
Set a webhook URL to receive Telegram updates. Optionally configure IP, certificate, secret token, allowed updates, max connections, and drop pending updates.
Instructions
Set a webhook URL for receiving updates.
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 | ||
| ip_address | No | ||
| certificate | No | ||
| secret_token | No | ||
| allowed_updates | No | ||
| max_connections | No | ||
| drop_pending_updates | No |