diagnostics
Inspect firewall state and activity: interfaces, neighbors, connection tables, logs, packet captures, and reachability checks. Use action='help' for each action's fields and rules.
Instructions
Read-only views of what the firewall currently sees: neighbours, interfaces, state table, logs, captures, and reachability. Call action='help' for each action's fields and rules.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | [pf_states] ip | |
| raw | No | [packet_capture] Return raw PCAP file if true (default: false) | |
| count | No | [packet_capture, ping] Packet count limit (optional) | |
| limit | No | [logs, pf_states] limit | |
| state | No | [pf_states] state | |
| action | Yes | Operation to run. 'help' lists fields. | |
| dst_ip | No | [logs, pf_states] dst_ip | |
| family | No | [ping] inet or inet6 (default inet) | |
| filter | No | [packet_capture] BPF filter expression (optional) | |
| src_ip | No | [logs, pf_states] src_ip | |
| stream | No | [packet_capture] If true, stream pcap data to chat (hex preview) | |
| target | No | [ping] Address or hostname to ping | |
| sort_by | No | [interface_health] sort_by | |
| summary | No | [pf_states] summary | |
| dst_port | No | [logs, pf_states] dst_port | |
| duration | No | [packet_capture] Duration in seconds (default: 30) | |
| protocol | No | [logs, pf_states] protocol | |
| src_port | No | [logs, pf_states] src_port | |
| interface | No | [interface_health, logs, packet_capture, pf_states] interface | |
| local_path | No | [packet_capture] Local path to save PCAP (optional) | |
| log_action | No | [logs] log_action | |
| packetsize | No | [ping] Payload bytes, for checking MTU on a transit | |
| include_raw | No | [interface_health, pf_statistics] include_raw | |
| max_results | No | [interface_health] max_results | |
| include_down | No | [interface_health] include_down | |
| summary_only | No | [logs] summary_only | |
| include_rules | No | [logs] include_rules | |
| preview_bytes | No | [packet_capture] Number of bytes to preview (default: 1000) | |
| warnings_only | No | [interface_health] warnings_only | |
| capture_action | No | [packet_capture] start, stop, or fetch (default: start) | |
| source_address | No | [ping] Source address, to test a specific path |