traceroute_host
Traces the network path to a host hop-by-hop, showing per-hop latency to identify where traffic slows down or stops.
Instructions
Trace the network path to a host, hop by hop, with per-hop latency.
Answers: "Where along the path does traffic slow down or die?" Uses the system traceroute binary (one probe per hop, 2s wait). If neither traceroute nor tracert exists on this system, that is returned as an error in the result, not raised.
Args: host: Hostname, IPv4, or IPv6 address. max_hops: Maximum hops to probe, clamped to 1..30 (default 15).
Returns: On success: {"ok": true, "host", "max_hops", "hop_count", "hops": [{"hop", "host" (name/IP or null when the hop timed out), "address", "rtt_ms"}]}. On failure: {"ok": false, "error": "..."}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| max_hops | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||