automod_delete_rule
Permanently delete an AutoMod rule when it is obsolete. This irreversible action removes the rule from your Discord server.
Instructions
Purpose: Delete an AutoMod rule. DESTRUCTIVE - IRREVERSIBLE.
When to use:
Permanently remove an obsolete rule.
When NOT to use:
Temporarily disable → use
automod_modify_rulewithenabled:false.
Returns: {deleted, rule_id, guild_id}.
Security: gated by ConfirmRequired. Pass __confirm:true AND set MCP_DRY_RUN=false to actually delete.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule_id | Yes | Rule to delete (IRREVERSIBLE) | |
| guild_id | Yes | Guild containing the rule | |
| __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 audit log (X-Audit-Log-Reason header) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||