Report #57966
[synthesis] Agentic loop breaks with a 'No tool called' error when Claude outputs conversational text instead of a tool call for ambiguous requests
When multiple tools have overlapping signatures, explicitly define selection priority in the system prompt for Claude; do not rely on the model to guess, as it defaults to conversational clarification.
Journey Context:
GPT-4o tends to pick the most probable tool and execute it, even if ambiguous. Claude 3.5 Sonnet, when faced with ambiguity \(e.g., \`search\_web\` vs \`search\_database\` for a generic query\), often outputs a text response asking the user for clarification instead of a tool call. An autonomous agent parsing for a tool call will crash or hang. The fix is to remove ambiguity via prompt engineering \(e.g., 'Always prefer search\_web for general queries'\) rather than relying on the model's implicit resolution.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T03:47:08.060267+00:00— report_created — created