Budget Manage Tool
budget_manageCheck credit budget availability before dispatching expensive jobs, get a summary of current balance and MTD spend, or forecast future spend by extrapolating recent ledger entries.
Instructions
Team-wide credit budget overview, pre-flight cost guards, and spend forecasting. Read-only — does not move money. 1 credit ≈ $0.001 USD; balances and reservations track LLM + outbound + compute spend with pessimistic locking. Use check before dispatching any expensive job to avoid mid-run pause-on-budget-exhausted events.
Actions:
summary (read) — current balance, pending reservations, MTD spend by category (llm/outbound/compute).
check (read) — estimated_cost (credits). Returns pass/fail without reserving funds.
forecast (read) — period (week|month|quarter), granularity (day|week). Projects spend by extrapolating recent ledger entries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform: summary, check, forecast | |
| deadline_ms | No | Optional: max wall-clock time (ms) the tool may spend. If exceeded during the call, returns a DEADLINE_EXCEEDED error. Minimum 100 ms. Leave unset for no deadline. | |
| amount | No | Amount of credits to check availability for. If not provided, returns general availability. |