Resolved Max Tool Calls • AI Agent SDK

resolved_max_tool_calls: Per-turn tool-call guardrail (max parallel tool calls in one response).

resolved_max_tool_calls

Method

</div>

This is a method of the ExecutionConfig class in the feature_configs module.

Per-turn tool-call guardrail (max parallel tool calls in one response).

This is intentionally independent of `max_steps: max_steps bounds outer-loop iterations (one LLM round-trip each), whereas this caps how many tool calls may fire within a single LLM response. Coupling them would let a single parallel-tool response exhaust the step budget (e.g. max_steps=5` truncating after one round of 5 parallel calls).

Diagram

uses

returns

Agent

Tool: resolved_max_tool_calls

Result

Signature

python
def resolved_max_tool_calls() -> int

Returns

ResponseField int

The result of the operation.

Source

View on GitHub

praisonaiagents/config/feature_configs.py at line 1074


Related Documentation