oci_vcn_list
List Virtual Cloud Networks (VCNs) in an Oracle Cloud Infrastructure compartment by OCID. Set a limit to control the number returned.
Instructions
List Virtual Cloud Networks (VCNs) in a compartment
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "oci_vcn_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum VCNs to return | |
| compartment_id | No | Compartment OCID (defaults to tenancy) |