pt_read_routes
Reads the live routing table of a device or all routers, showing prefix, protocol, next hop, AD and metric, and flags convergence gaps where a dynamic-protocol router lacks prefixes others know.
Instructions
Reads the REAL routing table of a live device (or of every router).
What show ip route shows, read from the device's RoutingProcess:
per route its prefix, protocol letter and name (C connected, L local,
S static, O OSPF, D EIGRP, R RIP), next hop, interface, AD and metric.
Across several routers it lists convergence_gaps: prefixes a router
running a dynamic protocol lacks while the others know them.
Parameters:
device: device name; empty = every device with a routing table.
Example: did OSPF converge? pt_read_routes()
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": "pt_read_routes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No |