set_budget
Set spending budgets with percentage-based Slack alerts and CI gate thresholds. Monitor costs by provider, team, service, or total account.
Instructions
Create or update a spending budget. Budgets fire Slack alerts when spend crosses alert_at_pct, and fail CI checks when it crosses block_at_pct.
Args: name: Budget name (e.g. "Platform Team Monthly") limit_usd: Spending limit in USD scope_type: What to watch, "total", "provider", "team", "service" scope_value: The specific value (e.g. "aws", "platform", "EC2") Use "*" for total account budget period: "monthly" or "weekly" alert_at_pct: Send warning alert at this % of limit (default 80) block_at_pct: Fail CI gate at this % of limit (default 100)
Examples: - "Set a $50,000 monthly budget for AWS" - "Create a $15,000 monthly budget for the platform team" - "Set a $20,000 budget for EC2 with warnings at 75%" - "Add a total monthly budget of $100,000"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| period | No | monthly | |
| limit_usd | Yes | ||
| scope_type | No | total | |
| scope_value | No | * | |
| alert_at_pct | No | ||
| block_at_pct | No |