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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_cost_recommendations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locations | No | ||
| environment | No | ||
| limit_per_call | No |