Sync a Telegram bot
sync_botSynchronize an existing bot with its saved project scenario and Telegram command menu. Enter BotFather tokens only in Cormak UI. Returns awaiting_confirmation and an approval_url: the owner must approve these exact parameters in Cormak, then retry with the SAME request_id. No work starts before approval. Reuse request_id on retries.
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": {
"request_id": "<request_id>",
"project_id": "<project_id>"
},
"name": "sync_bot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| request_id | Yes | Stable UUID for this exact operation. Reuse on retries. Never change it to retry an unknown result. |