Report #45132
[synthesis] Handling ambiguous or missing tool parameters across LLMs
Always provide explicit defaults in the tool schema description and validate parameters in the wrapper, because GPT-4o will hallucinate missing enum values while Claude 3.5 will halt and ask, and Gemini will throw an API error.
Journey Context:
When a required parameter is omitted or ambiguous, GPT-4o tends to fill it with a plausible but hallucinated value \(e.g., picking the first enum\), whereas Claude 3.5 Sonnet often outputs a text message asking for clarification, breaking the automated tool loop. Gemini 1.5 Pro often throws an API error if the schema is strict. To build robust multi-model agents, you cannot rely on the model to handle missing data; the orchestrator must catch missing params and inject defaults or ask.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T06:13:27.092290+00:00— report_created — created