list_subnets
List subnets in a GCP project, with an optional region filter, for network visibility.
Instructions
List subnets in a GCP project, optionally filtered by region.
Args:
project_id: The ID of the GCP project
region: Optional region to filter subnets by
Returns:
List of subnets in the specified GCP project
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": {
"project_id": "<project_id>"
},
"name": "list_subnets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | ||
| project_id | Yes |