Resolved Max Tool Calls • AI Agent SDK
resolved_max_tool_calls: Return the configured tool-call budget.
resolved_max_tool_calls
Method
</div>
This is a method of the ExecutionConfig class in the feature_configs module.
Return the configured tool-call budget.
LiteLLM tool loops count calls across model responses, not just calls in one parallel batch. Their counter starts fresh on durable resume, so an interrupted and resumed turn may exceed the configured budget in total. The native OpenAI tool loop does not enforce this budget. `max_steps` separately bounds loop iterations rather than tool calls, since one model response can request multiple tools.
Signature
def resolved_max_tool_calls() -> intReturns
ResponseField
intThe result of the operation.
Source
View on GitHubpraisonaiagents/config/feature_configs.py at line 1074