scan_ports
Scan a host's specified ports to determine which are open and reveal available services for network diagnostics.
Instructions
Scan multiple ports on a specific 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>",
"ports": "<ports>"
},
"name": "scan_ports"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | IP address or hostname | |
| ports | Yes | List of port numbers to scan (e.g., [80, 443, 22, 8080]) |