tcpvcon
List all TCP/UDP connections and the process that owns each to identify which programs use network ports. Optionally show all connection states, including TIME_WAIT.
Instructions
List all TCP/UDP connections with owning process.
Wraps Sysinternals Tcpvcon with CSV output parsing.
Return Format
{"success": bool, "connections": list[dict], "count": int, "error": str | None}
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": "tcpvcon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all_states | No | Show all states, incl. TIME_WAIT (-a) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||