list_subnets
List subnets in a specified compartment, with optional filtering by VCN.
Instructions
List subnets, optionally filtered by 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": "list_subnets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compartment_id | Yes | ||
| vcn_id | No | ||
| limit | No | ||
| page | No |