add_default_route
Append a default route to an OCI route table by specifying a gateway. Direct traffic from a CIDR (default 0.0.0.0/0) to the gateway.
Instructions
Append a route (cidr -> gateway/IGW/NAT/Service GW) to a route table.
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": {
"route_table_id": "<route_table_id>",
"gateway_id": "<gateway_id>"
},
"name": "add_default_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| route_table_id | Yes | ||
| gateway_id | Yes | ||
| cidr | No | 0.0.0.0/0 |