list_routes
Retrieve MikroTik routing table entries with filters for destination, gateway, distance, routing mark, and status. Use it to inspect active, static, or dynamic routes and diagnose connectivity issues.
Instructions
Lists routes in MikroTik routing table.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_routes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | ||
| dst_filter | No | ||
| active_only | No | ||
| static_only | No | ||
| dynamic_only | No | ||
| disabled_only | No | ||
| gateway_filter | No | ||
| distance_filter | No | ||
| routing_mark_filter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |