ban_add
Ban one or more Discord users by ID, mention, or name, including users not in the server, with an optional reason and recent message deletion window.
Instructions
Ban one or more users (ids, mentions or member names); works for users not in the server too. delete_messages = how much of their recent history to delete ("1h", "1d", up to "7d").
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": {
"users": "<users>"
},
"name": "ban_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot | No | ||
| guild | No | ||
| users | Yes | ||
| reason | No | ||
| delete_messages | No |