discord_bulk_ban
Ban up to 200 users in one call for raid mitigation, with a dry-run preview by default so you can verify user IDs before banning. Requires Ban Members and Manage Server permissions.
Instructions
Ban many users in a single call, intended for raid mitigation. SAFE BY DEFAULT: dry_run is true unless explicitly set to false, so call it first to preview the user IDs a real call would send to Discord, unchecked, then re-call with dry_run:false to actually ban them. Requires both the Ban Members and Manage Server permissions. Returns { dry_run, would_ban } for a preview, and { dry_run, banned, failed } with the user IDs after a real call; failed also lists users who were already banned. Discord rejects the whole call with an error if no user could be banned. Use discord_ban_member for a single ban with finer control.
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_ids": "<user_ids>"
},
"name": "discord_bulk_ban"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Optional reason recorded in the server audit log. | |
| dry_run | No | If true (default), returns the user IDs a real call would send, unchecked, and bans no one. Set false to actually ban. | |
| guild_id | Yes | Discord server (guild) ID (snowflake). | |
| user_ids | Yes | Array of user IDs (snowflakes) to ban (max 200 per call, a Discord API limit). | |
| delete_message_seconds | No | Also delete each user's messages from the last N seconds (0–604800, i.e. up to 7 days). Default 0. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| banned | No | User IDs banned by this call. | |
| failed | No | User IDs not banned, including users who were already banned. | |
| dry_run | Yes | true for a preview: no one was banned. | |
| would_ban | No | Dry run only: the user IDs a real call would send to Discord, unchecked. |