add_network_route
Adds a network route that directs traffic for an RFC1918 or 0.0.0.0/0 destination CIDR to an internal gateway IP.
Instructions
Add a route to a network: traffic for destination is sent to gateway. destination must be an RFC1918 range or 0.0.0.0/0 and must not overlap subnets or other routes; gateway must be an IP inside the network (not its first IP, not 172.31.1.1). Returns an Action
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": {
"id": "<id>",
"destination": "<destination>",
"gateway": "<gateway>"
},
"name": "add_network_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Network ID | |
| gateway | Yes | Gateway IP inside the network, e.g. a server's private IP 10.0.1.2 | |
| destination | Yes | Destination CIDR, e.g. 10.100.1.0/24 or 0.0.0.0/0 |