Get Expiring Commitments
get_expiring_commitmentsReturn only the cloud commitments (AWS RIs/Savings Plans, Azure Reservations/Savings Plans, GCP CUDs) matching a lifecycle status — defaults to "expiring_soon" (those nearing expiry that need renewal action). Reads the same commitments payload as list_commitments and filters by status client-side; also accepts "expired", "active", or "unknown". The rollup summary (count expiring within 60 days, already expired, total dollars saved) is included for context. Scope with provider ("aws" | "azure" | "gcp"; OMIT = all cloud providers combined, AWS + Azure + GCP — the backend default) or with integration_id (scoping follows that integration's provider server-side). Read-only. Example: { "status": "expiring_soon", "provider": "gcp" } surfaces the CUDs to renew before they lapse.
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": "get_expiring_commitments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max rows to return in the list section (default: no cap beyond the truncation guard). | |
| status | No | Commitment status to filter to (CLIENT-SIDE, from the same commitments payload). "expiring_soon" (default) = nearing expiry, "expired" = lapsed within the last 90 days with NO detected renewal (renewed/repurchased and older lapses are dropped server-side), "active" = healthy, "unknown" = unclassified. | expiring_soon |
| provider | No | Cloud provider scope for the commitments data: "aws" (Reserved Instances & Savings Plans), "azure" (Reservations & Savings Plans), or "gcp" (Committed Use Discounts). OMIT = ALL cloud providers combined (AWS + Azure + GCP — the backend default for commitments). Commitments are cloud-only — Snowflake/Anthropic/OpenAI have none. Pass one provider per call to narrow the scope. | |
| integration_id | No | Scope to one or more provider connections (integration id). Omit for all connections. | |
| response_format | No | concise = key fields only (default, lower token cost); detailed = the full parsed payload. | concise |