Report #91344
[synthesis] Tool calls failing validation because the model hallucinated missing required parameters or refused to call the tool
When a required parameter is missing from the user prompt: GPT-4o will hallucinate a plausible value; Claude will refuse to call the tool and ask the user; Gemini will pass \`null\` or an empty string. To fix: For GPT-4o, add 'Do not guess values for missing parameters' to the tool description. For Claude, handle the conversational fallback in your agent loop. For Gemini, validate inputs before execution.
Journey Context:
A common assumption is that LLMs act as strict schema validators. In reality, GPT-4o prioritizes task completion over schema fidelity, leading to silent data corruption. Claude prioritizes schema fidelity, leading to agent loop stalls. Gemini prioritizes API compliance, leading to downstream null errors. The synthesis reveals that 'required' in a JSON schema is a suggestion to GPT-4o, a hard stop to Claude, and a null-filler to Gemini.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T11:54:53.205909+00:00— report_created — created