discord_ban_member
Ban a user from a Discord server, optionally purging recent message history by specifying seconds and adding a ban reason.
Instructions
Ban a member or user from the server with optional message deletion history.
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": {
"user_id": "<user_id>"
},
"name": "discord_ban_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Ban reason. | |
| user_id | Yes | User ID or mention. | |
| guild_id | No | Optional guild ID. | |
| delete_message_seconds | No | Seconds of message history to purge (0-604800, e.g. 86400 for 1 day). |