Port Scan
port_scanDiscover open TCP ports on a host by running an nmap top-ports scan, revealing exposed services for reconnaissance.
Instructions
nmap top-N port scan of a host.
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": {
"host": "<host>"
},
"name": "port_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Hostname or IP. | |
| top_ports | No | How many common ports to scan (default 1000). | |
| from_token | No | Optional scan_token from an earlier call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |