ncloud_add_route
Add a route to a route table to direct traffic to a NAT gateway, VPC peering, or virtual gateway. Specify destination CIDR block, target type, and target number.
Instructions
Add a route 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": {
"routeTableNo": "<routeTableNo>",
"vpcNo": "<vpcNo>",
"destinationCidrBlock": "<destinationCidrBlock>",
"targetTypeCode": "<targetTypeCode>",
"targetNo": "<targetNo>"
},
"name": "ncloud_add_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vpcNo | Yes | VPC number | |
| targetNo | Yes | Target instance number | |
| targetName | No | Target name | |
| routeTableNo | Yes | Route table number | |
| targetTypeCode | Yes | Target type code (NATGW, VPCPEERING, VGW) | |
| destinationCidrBlock | Yes | Destination CIDR block (e.g., 0.0.0.0/0) |