templates_delete
Permanently delete a Discord guild template. Requires confirmation and manage-guild permission; existing guilds remain unaffected.
Instructions
Purpose: Delete a Guild Template. DESTRUCTIVE - IRREVERSIBLE.
Requires: Discord MANAGE_GUILD permission. This removes the template code; it does not change existing guilds created from it.
Returns: {deleted, template, untrusted_text}.
Security: gated by ConfirmRequired. Pass __confirm:true AND set MCP_DRY_RUN=false to actually delete.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guild_id | Yes | Guild that owns the template | |
| __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. | |
| audit_reason | No | Reason recorded in Discord audit log | |
| template_code | Yes | Guild Template code to delete (IRREVERSIBLE) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||