get_routing_table
Retrieve the active routing table from a FortiGate device to inspect installed static, dynamic, and connected routes, route sources, metrics, preferences, and interface assignments.
Instructions
Get the current routing table from a FortiGate device.
This tool retrieves the active routing table showing all routes currently installed on the device, including static, dynamic, and connected routes.
Parameters:
device_id: Identifier of the FortiGate device
vdom: Virtual Domain name (optional, uses device default)
Returns:
Active route entries
Route sources (static, OSPF, BGP, etc.)
Metrics and preferences
Interface assignments
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_id": "<device_id>"
},
"name": "get_routing_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | Virtual Domain | |
| device_id | Yes | FortiGate device identifier |