set_my_commands
Register bot commands to make them appear in Telegram's UI. Pass a list of command-and-description objects.
Instructions
Register bot commands so Telegram shows them in the UI.
commands is a list of {"command": "start", "description": "..."} dicts.
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": "<commands>"
},
"name": "set_my_commands"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commands | Yes |