ip_routes
Retrieve the IPv4 routing table from a MikroTik RouterOS device, with an optional limit on the number of routes returned.
Instructions
List the IPv4 routing table of a device.
limit, if given, caps the number of rows returned (capped at 500);
omit it to get the full table, mirroring logs' limit parameter.
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": {
"device_name": "<device_name>"
},
"name": "ip_routes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| device_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |