get_bot_commands
Retrieve a Telegram bot's public slash commands and description, showing the menu triggered by typing '/' in chat.
Instructions
获取一个 bot 公开的 / 指令菜单和简介(对应聊天框里 / 触发的下拉)。
Args: bot: bot 的 @username 或用户 ID。
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": {
"bot": "<bot>"
},
"name": "get_bot_commands"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||