traceroute
Maps the network path from a MikroTik router to an IPv4 or IPv6 host, showing hops and probe timing to diagnose routing and connectivity issues.
Instructions
Traces the route from the router to an IPv4/IPv6 address or host name (needs the "test" policy).
Notes: count: probes per hop; the run takes roughly count x hops x timeout at worst. timeout: per-probe timeout, e.g. "500ms" or "1s". port applies to protocol="udp".
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": {
"address": "<address>"
},
"name": "traceroute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | ||
| size | No | ||
| count | No | ||
| device | No | ||
| address | Yes | ||
| timeout | No | ||
| use_dns | No | ||
| max_hops | No | ||
| protocol | No | icmp | |
| interface | No | ||
| src_address | No | ||
| routing_table | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |