show_routing_table
Retrieves the IP routing table from a network device, displaying routes with protocol, next-hop, metric, and preference for troubleshooting.
Instructions
Show the IP routing table on a network device.
Returns all routes with protocol, next-hop, metric, and preference.
Args: device: Name of the device as defined in devices.yaml
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": "<device>"
},
"name": "show_routing_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |