List subnets
list_subnetsDiscover available subnets by cloud provider across Spinnaker accounts to configure server groups or deployment targets, returning CIDR, availability zone, and VPC association.
Instructions
List all subnets for a given cloud provider across Spinnaker accounts. Use this to discover available subnets when configuring server groups or deployment targets. Returns JSON array of subnet objects with CIDR, availability zone, and VPC association.
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": {
"cloud_provider": "<cloud_provider>"
},
"name": "list_subnets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cloud_provider | Yes | Cloud provider (e.g. aws, gce, kubernetes) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of records in items. | |
| items | No | The records, when Gate answered with a list. |