list_cost_recommendations
Identify idle and oversized GCP resources by aggregating cost-optimization recommendations across project locations. Get actionable rightsizing and cleanup suggestions to reduce cloud spend.
Instructions
Aggregate GCP cost-optimization recommendations (idle/rightsizing/etc).
Fans out the cost recommenders across the locations where the project has resources. Recommenders/locations that are empty or not enabled are skipped.
Args: locations: Optional comma-separated zones/regions to scan (e.g. 'us-central1,us-central1-a'). If empty, auto-discovers from Asset Inventory (requires the Cloud Asset API). limit_per_call: Max recommendations to pull per recommender+location. environment: Which configured GCP environment to query, e.g. 'staging' or 'production'. Omit to use the default environment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locations | No | ||
| environment | No | ||
| limit_per_call | No |