ban_member
Ban a user from a Discord server by providing the server ID and user ID. Optionally set a reason and the number of days of messages to delete.
Instructions
Ban a user from the server
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>"
},
"name": "ban_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guild_id | Yes | ||
| user_id | Yes | ||
| reason | No | Audit log reason (optional) | |
| delete_message_days | No | Days of messages to delete (0–7, optional) |