update_static_route
Modify an existing static route's destination, gateway, or other settings on a FortiGate device. Apply updated route configuration using device ID and route ID for precise network changes.
Instructions
Update an existing static route on a FortiGate device.
This tool modifies the configuration of an existing static route, allowing changes to destination, gateway, or other settings.
Parameters:
device_id: Identifier of the FortiGate device
route_id: ID of the route to update
route_data: Updated configuration as JSON
vdom: Virtual Domain name (optional, uses device default)
Returns:
Update status
Configuration changes applied
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>",
"route_id": "<route_id>",
"route_data": "<route_data>"
},
"name": "update_static_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | Virtual Domain | |
| route_id | Yes | Route identifier | |
| device_id | Yes | FortiGate device identifier | |
| route_data | Yes | Route configuration |