commands_list_global
List globally registered application commands to audit slash commands before bulk-overwriting the global registry.
Instructions
Purpose: List globally-registered application commands.
When to use: audit global slash commands; before bulk-overwriting global registry.
Returns: {commands:[{id, name, description, type}], count, untrusted_text}. Names and descriptions remain raw app-author data; untrusted_text provides a separately fenced copy.
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": {
"application_id": "<application_id>"
},
"name": "commands_list_global"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| application_id | Yes | Bot/app application ID | |
| with_localizations | No | Include name_localizations / description_localizations objects in the response |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||