Report #87291
[synthesis] Model calls dependent tools in parallel causing dependency errors
Explicitly define the dependency graph in the tool descriptions \(e.g., 'Must be called after tool\_A'\) and avoid relying on the model to infer sequential execution from context alone.
Journey Context:
If a prompt requires fetching a repo and then reading a file inside it, GPT-4o generally infers the sequential dependency and waits for the first tool's output. Claude 3.5 Sonnet aggressively optimizes for parallel execution and will attempt to call both 'git\_clone' and 'read\_file' simultaneously, leading to a file-not-found error. Gemini often asks the user for confirmation. Because agentic frameworks auto-resolve parallel tool calls, Claude's eagerness breaks the chain. Embedding state requirements directly into the tool schema description reliably forces sequential behavior across all models.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T05:06:30.132946+00:00— report_created — created