budget_status
Track a task's expenditure against a defined budget. Determine the remaining funds, count calls, and verify if the task has exceeded its spending limit.
Instructions
Check a task's recorded spend against a budget.
Args: task_id: The task identifier used with record_spend. budget_usd: The budget for the task, in USD.
Returns spent, remaining, call count, and whether the task is over budget. This server supplies the numbers; enforcing the budget (stopping a run) belongs to the agent framework.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ||
| budget_usd | Yes |