list_guild_bans
Retrieve banned users from a Discord server by guild ID, with optional pagination using before, after, and limit parameters.
Instructions
List banned users. [GET /guilds/{guild_id}/bans]
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>"
},
"name": "list_guild_bans"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Return items after this ID (pagination) | |
| limit | No | Max results | |
| before | No | Return items before this ID (pagination) | |
| guild_id | Yes | Server (guild) ID |