teardown_stack
Terminate an OCI instance and tear down its entire VCN, including subnets, gateways, and security lists, cleaning up associated network resources.
Instructions
Terminate an instance and tear down its VCN (subnets, gateways, security lists).
Order: instance(s) -> subnets -> clear route tables -> IGW/NAT/Service gateways
-> non-default security lists -> non-default route tables -> VCN.
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": {
"compartment_id": "<compartment_id>"
},
"name": "teardown_stack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compartment_id | Yes | ||
| instance_id | No | ||
| vcn_id | No |