toggle_automod_rule
Activate or deactivate Discord auto-moderation rules to control content filtering in your server.
Instructions
Enable or disable an auto-moderation rule
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": {
"guildId": "<guildId>",
"ruleId": "<ruleId>",
"enabled": "<enabled>"
},
"name": "toggle_automod_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guildId | Yes | The ID of the server (guild) | |
| ruleId | Yes | The ID of the rule | |
| enabled | Yes | Enable or disable the rule | |
| reason | No | Reason for change |