getMyCommands
Retrieve the active bot command list for a specified scope and language. Returns an array of BotCommand objects to inspect currently configured commands.
Instructions
Get the current list of bot commands for the given scope and language. Returns an Array of BotCommand objects.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "getMyCommands"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Scope of users for which the commands are relevant. Defaults to BotCommandScopeDefault. | |
| language_code | No | Two-letter ISO 639-1 language code or empty string. |