Skip to content

commands_list_global

Category: commands

List globally-registered application commands.

audit global slash commands; before bulk-overwriting global registry.

FieldTypeRequiredDescription
application_idstringyesBot/app application ID
with_localizationsbooleannoInclude name_localizations / description_localizations objects in the response

\{commands:[\{id, name, description, type\}], count, untrusted_text\} — names/descriptions are app-author authored, wrapped untrusted.

FieldTypeRequiredDescription
commandsarrayyes
countnumberyes
untrusted_textstringyes
PropertyValue
Read-onlyyes
Destructiveno
Idempotentyes
Open-worldyes
Confirmation requiredno

packages/mcp-core/src/tools/commands/list_global.ts