list_banned_ips
List all IP addresses currently banned by Fail2ban. Optionally filter by jail or server to narrow results.
Instructions
List all currently banned IP addresses from Fail2ban.
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_banned_ips"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jail | No | Filter by jail name (optional) | |
| server | No | Server alias (e.g., 'pi1', 'web-server'). Uses default server if not specified. |