discord_moderate_member
Moderate a Discord member: kick, ban, unban, timeout, or remove timeout. Confirm destructive actions.
Instructions
Moderate a member: kick, ban, unban, timeout (mute for N minutes) or untimeout. Needs Kick/Ban/Moderate Members. Destructive: confirm with the user first.
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>",
"user_id": "<user_id>",
"action": "<action>"
},
"name": "discord_moderate_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| reason | No | Reason shown in the server audit log (optional) | |
| user_id | Yes | User ID | |
| guild_id | Yes | Server (guild) ID | |
| timeout_minutes | No | For timeout: 1-40320 (28 days) | |
| delete_message_seconds | No | For ban: also delete their messages from the last N seconds (max 604800) |