commands_bulk_overwrite_guild
Replace a Discord guild's entire command list in one atomic operation. Any commands not included are deleted; an empty array clears all commands.
Instructions
Purpose: Atomically REPLACE the guild-scoped command registry. Any commands not in commands are deleted from this guild. An EMPTY array deletes every command in this guild.
Caution: this is a wholesale replace - call commands_list_guild first to confirm scope.
Security: gated by ConfirmRequired. Pass __confirm:true AND set MCP_DRY_RUN=false to actually apply the replace.
Returns: {commands:[{id, name, type}], count}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commands | Yes | Full set of commands to register in this guild (REPLACES the existing registry; an empty array deletes every command). | |
| guild_id | Yes | Guild scope | |
| __confirm | No | Set true to authorize this destructive operation. Also requires the server to run with MCP_DRY_RUN=false; otherwise a DRY_RUN_PREVIEW is returned. | |
| application_id | Yes | Bot/app application ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||