states_table
Retrieve active pf state-table entries to inspect current firewall connections, with a limit and optional target selection for tracking or troubleshooting.
Instructions
[READ] Active pf state-table entries (connections currently tracked).
Args: top: How many state entries to return (default 100). target: Firewall target name from config; omit for the default.
Returns an envelope: {"states": [...], "returned": N, "limit": L, "truncated": bool, "total": T}. "truncated" is true when the state table holds more entries than were returned.
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": "states_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| target | No |