get_device_static_routes
Retrieves a managed device's IPv4 static routes from FortiManager's device database to complete routing visibility alongside BGP and identify blackholed overlay summaries.
Instructions
Get a managed device's IPv4 static routes from FortiManager's device DB.
Complements get_device_bgp for a full routing picture: on an SD-WAN
overlay the default route usually points at an SD-WAN zone and the
overlay summaries are often blackholed here.
Args: device: Managed device name (e.g. "FGT-HQ") vdom: VDOM name (default: "root")
Returns: dict with keys: - device, vdom - routes: raw router/static entries - summary: condensed per-route list - route_count - error / error_code: on failure
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": "get_device_static_routes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | root | |
| device | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||