List bans
list_bansList all banned users and their ban reasons in a Discord server. Review current bans to manage server moderation.
Instructions
List all banned users in a server with their ban reasons.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_bans"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | No | Server (guild) name or id. Optional when the bot is in a single server or DISCORD_GUILD_ID is set. |