get_network_status
Retrieve network interface details, addresses, and I/O totals since boot, with optional TCP connection state counts to identify connection leaks or unexpected listeners.
Instructions
Get network interfaces, their addresses, and I/O totals since boot.
Optionally includes TCP connection counts grouped by state, which is useful for spotting connection leaks or unexpected listeners.
Returns: str: Markdown summary or JSON object with keys: interfaces ({name: {is_up, addresses[]}}), io_totals {sent_gb,recv_gb}, tcp_states (optional {state: count}).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response_format | No | 'markdown' for human-readable output, 'json' for structured data. | markdown |
| include_connections | No | Include counts of TCP connections by state (ESTABLISHED, LISTEN, ...). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |