Manage the Telegram bot
manage_telegram_botManage your profile's Telegram bot settings: retrieve or update the bot profile, and get, set, or delete bot commands via the Upload-Post API.
Instructions
Profile and commands of the profile's own Telegram bot. Fields go in params: get_profile (language_code); update_profile (name, description, short_description, language_code, photo_url or animation_url, remove_photo with confirm, menu_button, default_administrator_rights, for_channels; clear_name / clear_description / clear_short_description); get_commands and delete_commands (scope, language_code; delete needs confirm); set_commands (commands: [{command, description}], 1-100, plus scope and language_code).
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": {
"action": "<action>",
"user": "<user>"
},
"name": "manage_telegram_bot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | Upload-Post profile name with Telegram connected. | |
| action | Yes | ||
| params | No | Other API fields for this action, with the REST API's own names (snake_case) and shapes. See the description for each action's fields. Leave out what you do not want to change. | |
| confirm | No | The API's own confirmation for deletions and other changes that cannot be undone. Set it to true only after the user has approved that exact change; without it those actions are refused and nothing changes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No |