detect-os
Identify the operating system of a target host using TCP/IP stack fingerprinting. Requires root privileges for reliable results.
Instructions
Detect the operating system of a target host.
Uses nmap TCP/IP stack fingerprinting (-O) to identify the target's operating system. NOTE: This typically requires elevated privileges (root/sudo).
IMPORTANT: Only scan targets you are authorized to scan.
Returns: ScanResult with OS detection matches for the target 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": {
"target": "<target>"
},
"name": "detect-os"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Target to scan: IP address or hostname. Single host only. | |
| timeout | No | Maximum scan duration in seconds. Default: 600. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | The nmap command that was executed (sanitized) | |
| hosts | No | Results per host | |
| scan_stats | No | Scan statistics | |
| raw_output | No | Raw nmap output text | |
| warnings | No | Scan warnings |