Local Traceroute
local_tracerouteTrace the network path to any host, showing each hop with latency. Uses UDP probes without admin rights on macOS, Linux, and Windows.
Instructions
Trace the network path to a host from the local machine.
Shows each hop along the route with latency. Uses UDP probes by default (no admin required). On macOS/Linux uses traceroute, on Windows uses tracert. If the trace exceeds its time budget the partial output collected so far is returned with returncode 124.
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": "local_traceroute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Hostname or IP address to trace (an IPv6 literal may be bracketed) | |
| max_hops | No | Maximum number of hops (1-64) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Additional context about the result | |
| error | No | Why the tool could not produce a result: input validation failure, tool disabled by configuration, binary not installed, or no service answered. Empty when the command executed. | |
| stderr | Yes | Standard error of the command, or the failure message when the command did not run | |
| stdout | Yes | Standard output of the command (curl output is capped at 10,000 characters) | |
| command | Yes | The exact command line that was executed, or the tool name if the command never ran | |
| success | Yes | True when the command ran and exited with status 0 | |
| platform | Yes | Operating system the command ran on (Darwin, Linux or Windows) | |
| returncode | Yes | Process exit status. 0 = success; 2 = input rejected before running; 124 = timed out; 126 = disabled by config or permission denied; 127 = binary not found |