Report #47875
[synthesis] Agent executor crashes when model returns multiple tool calls simultaneously
Implement a parallel tool execution handler or explicitly instruct the model 'Call only ONE tool per turn' in the system prompt; to enable parallel calls in Claude/Gemini, explicitly state 'You may call multiple independent tools in the same block'.
Journey Context:
GPT-4o defaults to parallel function calling, returning an array of tool calls if it deems them independent. Claude 3.5 Sonnet rarely uses parallel tool calls by default and prefers sequential execution. Gemini is highly conservative. If your agent loop only expects a single tool call per turn, GPT-4o will break it. Conversely, if you want parallel execution for speed, you must explicitly prompt Claude/Gemini to do so, as they won't infer it.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T10:50:45.464520+00:00— report_created — created