list_static_routes
Retrieve manually configured static routes from a FortiGate device, including destinations, gateways, interfaces, admin distances, and status. Inspect routing configuration by device or VDOM.
Instructions
List all static routes configured on a FortiGate device.
This tool retrieves all manually configured static routes from the device's routing table, showing destination networks and gateways.
Parameters:
device_id: Identifier of the FortiGate device
vdom: Virtual Domain name (optional, uses device default)
Returns:
Route destinations and gateways
Interface assignments
Administrative distances
Route status (enabled/disabled)
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": "list_static_routes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | Virtual Domain | |
| device_id | Yes | FortiGate device identifier |