Report #83600
[synthesis] GPT-4o makes parallel tool calls when sequential execution is required
Set \`parallel\_tool\_calls: false\` in the OpenAI API request. For Claude, explicitly instruct the model in the system prompt \(e.g., 'Call tools one at a time in sequence'\) as the Anthropic API lacks a native \`parallel\_tool\_calls\` parameter.
Journey Context:
Developers porting agents from Claude to GPT-4o often encounter state corruption because GPT-4o defaults to returning multiple tool calls in a single response if it deems them independent. Claude's API returns multiple \`tool\_use\` blocks but is naturally more conservative and can be controlled via prompting. OpenAI introduced the \`parallel\_tool\_calls\` parameter specifically to handle this, but it's easy to miss if you're abstracting over multiple providers.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T22:54:32.232587+00:00— report_created — created