lookup_route
Queries the FortiGate routing table to show which route, interface, and gateway reach a destination IPv4 address.
Instructions
Ask the routing table which route, interface and gateway reach a destination (monitor/router/lookup).
Parameters:
device_id: Identifier of the FortiGate device
destination: Destination IPv4 address
vdom: Virtual Domain name (optional)
Returns:
Matched route details (interface, gateway, type, distance, metric)
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>",
"destination": "<destination>"
},
"name": "lookup_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | Virtual Domain | |
| device_id | Yes | FortiGate device identifier | |
| destination | Yes | Destination IPv4 address |