nmap
Scan target hosts to discover open ports and detect running services, enabling identification of exposed network services during penetration testing.
Instructions
Port scanning and service detection
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>",
"session_id": "<session_id>"
},
"name": "nmap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| ports | No | ||
| consent | No | ||
| dry_run | No | Preview commands/steps without executing the scan | |
| session_id | Yes |