telegram_commands_save
Save Telegram bot commands in JSON format—built-in, custom, segmented, or translated—and sync them directly to the Bot API menu without affecting chats.
Instructions
Save bot commands. JSON: builtin/custom/segments/translations. Syncs Bot API menu, no chats.
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": {
"commands_json": "<commands_json>"
},
"name": "telegram_commands_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group_id | No | ||
| commands_json | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |