Report #68831
[synthesis] Model stalls or hallucinates when tool call is missing required parameters
Implement model-specific fallbacks: for Claude, catch text responses asking for params; for GPT-4o, validate against the schema because it will hallucinate missing params; for Gemini, reject null/empty strings in required fields.
Journey Context:
Developers assume models will uniformly ask for missing parameters. In reality, Claude 3.5 Sonnet usually emits a text response asking for it, GPT-4o often fills it with a plausible hallucination to satisfy the schema, and Gemini 1.5 Pro passes null/empty string breaking downstream validation. Relying on the model to self-correct leads to silent data corruption in GPT-4o and execution errors in Gemini.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T22:01:00.726651+00:00— report_created — created