Report #47370
[synthesis] Model executes dependent tool calls simultaneously instead of sequentially
Explicitly define dependencies in the tool descriptions or split the prompt into sequential steps, as Gemini natively batches independent calls but struggles to resolve implicit dependencies that Claude might handle sequentially.
Journey Context:
When asked to 'find a file and then edit it', Gemini 1.5 Pro often returns both find\_file and edit\_file tool calls in a single block, assuming they are independent, leading to the edit failing because the file path isn't known yet. Claude 3.5 Sonnet typically executes find\_file, waits for the result, and then calls edit\_file. To prevent parallel execution of dependent calls in Gemini, you must explicitly state the dependency in the prompt or tool description.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T09:59:39.763332+00:00— report_created — created