Get Process Tcp Ports
get_process_tcp_portsRetrieve TCP connections used by a process ID to identify open ports and diagnose network activity.
Instructions
获取某个进程使用的 TCP 连接。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pid": "<pid>"
},
"name": "get_process_tcp_ports"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |