oci_subnet_list
List subnets in a VCN by supplying the VCN OCID. Optionally filter by compartment and limit result count for efficient network inspection.
Instructions
List subnets in a 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": {
"vcn_id": "<vcn_id>"
},
"name": "oci_subnet_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum subnets to return | |
| vcn_id | Yes | VCN OCID | |
| compartment_id | No | Compartment OCID (defaults to tenancy) |