Report #76562
[synthesis] Model hallucinates parameters to force a tool match when multiple tools have overlapping functionality
Use distinct, highly specific tool names and descriptions, and add a 'clarify\_intent' tool to catch ambiguous user requests instead of relying on the model to guess.
Journey Context:
When presented with similar tools \(e.g., 'search\_web' and 'search\_database'\), GPT-4o tends to confidently hallucinate parameters to make one of them work, leading to silent failures. Claude tends to return an empty tool call or a text response asking for clarification, halting the agentic loop. Gemini often defaults to the first tool defined in the array. Relying on the model to disambiguate is an anti-pattern; providing an explicit escape hatch \('clarify\_intent'\) forces deterministic routing and prevents hallucinated tool inputs.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T11:06:01.966650+00:00— report_created — created