NetsCLI
v0.3.4Network scanner for AI agents: discover hosts, scan TCP and UDP ports, query DNS and mDNS.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
discover_network
Discover live hosts on a network subnet
| Parameter | Type | Description |
|---|---|---|
maxConcurrent | number | |
resolveHostnames | boolean | |
subnet | string | IPv4 CIDR, at most a /16. Defaults to the local subnet. |
timeout | number | Milliseconds, applied to every step. Omit for the defaults: ping 1000, scan 500, DNS 1500. |
scan_ports
Scan TCP ports on a host, or UDP ports with udp: true. UDP without ports probes DNS, NTP, NetBIOS, SSDP and mDNS; a UDP port that neither replies nor refuses is open|filtered. Returns only open, open|filtered and errored ports unless include_closed is true, so an empty list means every port scanned was closed or filtered.
| Parameter | Type | Description |
|---|---|---|
host * | string | |
include_closed | boolean | Also return closed and filtered ports, one entry each. |
maxConcurrent | number | |
ports | array | |
timeout | number | |
udp | boolean |
ping_host
Ping a host (ICMP with TCP-connect fallback). Returns a PingSummary with aggregate loss and min/avg/max RTT when count > 1.
| Parameter | Type | Description |
|---|---|---|
host * | string | |
count | number | |
timeout | number |
dns_lookup
DNS lookup (A, AAAA, CNAME, MX, NS, TXT, SRV, PTR, SOA, CAA, or ALL/ANY for every record type)
| Parameter | Type | Description |
|---|---|---|
host * | string | |
type | string | Record type. Omit, or pass ALL, for every type. |
get_arp_table
Get ARP/neighbor table with vendor information
inspect_host
Inspect a host: ping, port scan, reverse DNS, MAC vendor on the local segment, and an OS hint (family, detail and the evidence behind it, from SMB, SSH/HTTP banners, open ports, MAC vendor and ping TTL). The hint is a guess, not a fingerprint. ports lists only open, open|filtered and errored ports unless include_closed is true.
| Parameter | Type | Description |
|---|---|---|
host * | string | |
include_closed | boolean | Also list closed and filtered ports in ports, one entry each. |
maxConcurrent | number | |
ports | array | |
timeout | number | Milliseconds, applied to every step. Omit for the defaults: ping 1000, scan 500, DNS 1500. |
sweep_network
Sweep a network (discover hosts then scan ports)
| Parameter | Type | Description |
|---|---|---|
maxConcurrent | number | |
ports | array | |
resolveHostnames | boolean | |
subnet | string | IPv4 CIDR, at most a /16. Defaults to the local subnet. |
timeout | number | Milliseconds, applied to every step. Omit for the defaults: ping 1000, scan 500, DNS 1500. |
list_network_interfaces
List network interfaces with details
discover_mdns
Discover devices on the local network via mDNS/DNS-SD (Bonjour). Returns services with their hostnames, resolved IPs, ports, and TXT properties. Much friendlier than IP-based discovery for named devices like printers, Chromecasts, or Homebridge accessories.
| Parameter | Type | Description |
|---|---|---|
service_types | array | Explicit service types to browse (e.g. ["_http._tcp.local.", "_airplay._tcp.local."]). Omit to use a curated default set. |
timeout_ms | number | How long to browse for responses. 3000-5000ms is typical; many devices re-announce on a multi-second cadence. |