Traceroute
tracerouteWhat it answers: Which routers the packets cross from Seattle (AS402801) to a host, and where along the path delay, loss or a dead end appears, in IPv4 and IPv6 side by side. It shows where a path breaks, which networks and exchanges it goes through (each hop's address is in addresses[] with its AS, place and exchange), or, with mtu (ICMP and UDP mode), where the path MTU drops or a hop black-holes large packets. Three modes: icmp (echo requests, the default, one flow for the whole run), udp (to ports 33434 and up, one port per probe) and tcp (connect() to port 443 or 80, which gets through firewalls that drop ICMP and UDP; the target sees a real connection, closed at once).
Cost: 1 run per family that has an address (a name with A and AAAA: 2 runs; an address literal: 1); with mtu true, 2 runs per family. A family with no address is skipped and not charged.
Time: A few seconds when the target answers: up to 8 probes are in flight, 10 ms apart, and the TTL stops rising at the target. Each unanswered probe waits 2 s: a target that does not answer adds about 4 to 6 s (the TTL stops rising after 5 silent TTLs in a row), and many silent hops can stretch a part to about 25 s (32 hops of 3 probes, 8 at a time). The families run side by side. mtu adds a second pass, one probe at a time: about a second on a clean path, and up to tens of seconds where hops stay silent at a size (2 s per silent probe, 0.5 s before each retry).
Example (a UDP traceroute to 1.1.1.1 (one run: an address runs in its own family)): {"name": "traceroute", "arguments": {"mode":"udp","target":"1.1.1.1"}}
Its packets reach the target, from AS402801's addresses.
Results include text published by third parties (DNS records, names, headers, certificates, registry remarks).
Field reference: https://noc.andrii.net/mtlg/mcp-fields.md#traceroute
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": "traceroute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mtu | No | per-hop MTU: `true` or `false` (applies when `mode` is icmp or udp) | |
| mode | No | mode: `icmp`, `udp`, `tcp` | icmp |
| port | No | UDP port: 1 to 65440 (applies when `mode` is udp); TCP port: 443, 80 (applies when `mode` is tcp) | |
| target | Yes | a host name, an IPv4 or IPv6 address, or an http(s) URL's host | |
| families | No | families: `["ipv4"]`, `["ipv6"]` or both | |
| max_hops | No | max hops: 1 to 32 | |
| first_hop | No | first hop: 1 to 32 | |
| probes_per_hop | No | probes per hop: 1 to 3 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quotas | Yes | What is left of each quota (Result format). | |
| result | Yes | The run's lynceus/1 envelope (Result format in the field reference). | |
| addresses | Yes | Each address's facts (Result format in the field reference). |