AutoMod rules (admin)
discord_admin_automodManage Discord AutoMod rules: list, create, enable, disable, or delete keyword, preset, spam, and mention-spam filters; configure block, alert, and timeout actions.
Instructions
List, create, enable, disable or delete AutoMod rules. Triggers: keywords (* wildcards), presets (profanity, sexual_content, slurs), spam, mention_spam. Actions: block, alert a channel, timeout.
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": {
"action": "<action>"
},
"name": "discord_admin_automod"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| allow | No | Words that never trigger the rule | |
| block | No | Block the message | |
| action | Yes | ||
| reason | No | Reason, recorded in Discord's audit log | |
| presets | No | ||
| rule_id | No | enable/disable/delete: the rule | |
| trigger | No | ||
| keywords | No | ||
| exempt_roles | No | ||
| mention_limit | No | mention_spam: unique mentions per message | |
| timeout_minutes | No | Also time the author out (keywords / mention_spam only) | |
| alert_channel_id | No | Post an alert here | |
| exempt_channel_ids | No |