get_connections
View active TCP/UDP connections with local and remote addresses, states, and process information. Filter by protocol or connection state for targeted analysis.
Instructions
Get active network connections.
Use this tool to view active TCP/UDP connections including listening ports and established connections. Works on Linux, macOS, and Windows.
Args: protocol: Filter by protocol (tcp, udp, or None for all) state: Filter by state (e.g., ESTABLISHED, LISTEN, or None for all)
Returns: Connection list with local/remote addresses, states, and process info
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| protocol | No | ||
| state | No |