Check AI budget
check_ai_budgetCheck the AI budget before large tasks to see if the next run will exceed token limits. Returns an ok, warn, or over verdict with a recommendation, so you can decide whether to proceed.
Instructions
Advisory gate: before a big task, is the agent about to blow its AI budget?
Call this before an expensive run. Returns a verdict (ok / warn / over), the reason, and a recommendation. Advice only, it never blocks; relay the verdict and let the human decide. Pass estimated_next_tokens to test whether the next task would tip a token budget over.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| estimated_next_tokens | No |