netalertx_get_open_ports
Retrieves open ports recorded by NetAlertX for an IP or MAC address from the last NMAP scan; run a scan in NetAlertX first if no data is stored.
Instructions
Open ports recorded by NetAlertX for a target (IP address or MAC address). The data comes from the last NMAP scan; if nothing is stored, run an NMAP scan from the NetAlertX UI (Net tools) first.
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": {
"target": "<target>"
},
"name": "netalertx_get_open_ports"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |