List bans
list_bansRetrieve active IP bans per BunkerWeb instance, including CrowdSec entries, to check whether an IP is blocked or find the exact IP and service needed for unbanning.
Instructions
List active bans as each instance reports them (ip, scope, service, kind, incl. CrowdSec entries), grouped per instance. Cached up to 30 s. Use it to check whether an IP is banned, or for the exact ip and service that unban_ips when writes are enabled needs.
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 |
|---|---|---|---|
| limit | No | Maximum items to return, 1 to 1000; default 100 | |
| offset | No | Items to skip; pass next_offset from the previous page to read the next one |