list_commands
Retrieve all registered commands and command folders for a Telegram bot by providing its numeric ID.
Instructions
List all commands and command folders registered for a bot.
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": {
"botid": "<botid>"
},
"name": "list_commands"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| botid | Yes | The numeric bot ID. |