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}).
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": "get_network_status"
}
}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 |