list_compute_instances
Retrieve a list of Compute Engine instances within a specified GCP project, with optional filtering by zone for efficient resource management.
Instructions
List Compute Engine instances in a GCP project.
Args:
project_id: The ID of the GCP project to list instances for
zone: Optional zone to filter instances (e.g., "us-central1-a")
Returns:
List of Compute Engine instances in the specified GCP project
Input Schema
Name | Required | Description | Default |
---|---|---|---|
project_id | Yes | ||
zone | No |
Input Schema (JSON Schema)
{
"properties": {
"project_id": {
"title": "Project Id",
"type": "string"
},
"zone": {
"default": "",
"title": "Zone",
"type": "string"
}
},
"required": [
"project_id"
],
"title": "list_compute_instancesArguments",
"type": "object"
}