budget_status
Check the current federated budget status: ceiling, total spent, remaining tokens, and per-agent breakdown. Verifies available capacity before spending.
Instructions
Get a read-only snapshot of the global FederatedBudget: ceiling, total spent, remaining tokens, and per-agent spend breakdown. Never modifies budget state. Returns {ok:true, ceiling, spent, remaining, perAgent:{agentId:tokensSpent}}. Returns {ok:false, error:"Budget not available"} if no budget is configured. agent_id is recorded in the audit log only — it does not filter results. Call before budget_spend to check available capacity; use budget_get_log for a full timestamped transaction history.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Calling agent identifier (for audit) |