discord_delete_automod_rule
Permanently delete a Discord AutoMod rule by guild and rule ID, optionally logging an audit reason. Use when a rule is no longer needed; removal cannot be undone.
Instructions
Delete an AutoMod rule. IRREVERSIBLE: the rule and its configuration are gone. Requires Manage Server. There is no preview: deleting an AutoMod rule cannot lose member data, and Discord does not offer an undo, so the tool reports exactly which rule was removed.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"guild_id": "<guild_id>",
"rule_id": "<rule_id>"
},
"name": "discord_delete_automod_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Optional reason recorded in the audit log. | |
| rule_id | Yes | ID of the AutoMod rule to delete. | |
| guild_id | Yes | Discord server (guild) ID (snowflake). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| deleted | Yes |