telegram_restart
Restart the Telegram bot worker for this group when requested. Automatically handles rate limits to prevent overloading.
Instructions
Restart this group's Telegram worker process (pm2 aibot-). Same as /telegram_bot «Перезапустить скрипт». Rate-limited (60s per bot); on 429 wait retry_after, do not loop. Use when the user asks to restart the bot — not workers_update. Does not send messages.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "telegram_restart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |