commands_list_guild
List slash commands registered for a specific Discord guild, enabling audits and safe bulk overwrites.
Instructions
Purpose: List slash commands registered for a specific guild.
When to use: audit which commands are registered; before bulk-overwriting.
Returns: {commands:[{id, name, description, type}], count}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guild_id | Yes | Guild scope | |
| application_id | Yes | Bot/app application ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||