pt_read_routes
Reads the live routing table from one device or all routers, showing prefixes, protocols, next hops, AD, and metrics to verify convergence and spot missing routes.
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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |