discord_mod_ban_member
Ban a member from a Discord server with an optional reason and delete their recent messages up to 7 days.
Instructions
Ban a member from a Discord server. Optionally deletes their recent messages.
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>",
"userId": "<userId>"
},
"name": "discord_mod_ban_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Reason for the ban | |
| userId | Yes | The ID of the user to ban | |
| guildId | Yes | The ID of the server | |
| deleteMessageSeconds | No | Seconds of messages to delete (0-604800, i.e. 0-7 days) |