router_static_create
Add a new static route to route traffic to a destination network through a specified gateway and interface, with configurable administrative distance and priority.
Instructions
Create a new static route.
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": {
"dst": "<dst>",
"gateway": "<gateway>",
"device": "<device>"
},
"name": "router_static_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dst | Yes | Destination network in CIDR or 'ip mask' format (e.g. '10.10.0.0/16' or '10.10.0.0 255.255.0.0'). | |
| gateway | Yes | Next-hop gateway IP address. | |
| device | Yes | Egress interface name (e.g. 'wan1'). | |
| distance | No | Administrative distance (1-255). | |
| priority | No | Priority (lower = preferred). | |
| comment | No | Comment. | |
| vdom | No | Target VDOM name. Defaults to the server default VDOM. Use '*' for all VDOMs (super-admin required). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||