← Tool Use & Function Calling
Tool Budget
A tool budget is a configurable limit on how many total tool calls — or calls to a specific tool — an agent may make during a task run. It controls cost, latency, and the blast radius of potential errors. When the budget is exhausted the runtime can force the agent to produce a final answer from whatever information it has gathered, or it can raise an exception so the caller can decide how to proceed.