get_open_ports
List locally open TCP and UDP ports, and optionally include established connections to help diagnose network activity.
Instructions
List locally open (listening) TCP and UDP ports.
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_open_ports"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include_remote | No | If True, also include established connections. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||