port_scan
Scan authorized hosts for open TCP ports using presets or custom ranges, and grab plaintext service banners to support reconnaissance.
Instructions
TCP connect scan. Presets: top20, top100, web, db, common - or "80,443,8000-8100".
Only scan hosts you are authorized to test. Grabs a small plaintext banner where possible. Uses asyncio so it is fast but still a real connect scan.
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 | ||
| ports | No | top20 | |
| timeout | No | ||
| concurrency | No |