Report #91599
[synthesis] Model hallucinates invalid default values for missing required tool parameters instead of asking
For OpenAI models, enforce strict JSON schema validation. For Claude, add explicit instructions: 'If required parameters are missing, do NOT guess; ask the user.'
Journey Context:
When faced with an ambiguous request missing a required tool parameter, GPT-4o tends to hallucinate a plausible default \(e.g., guessing 'today' for a missing date\) to proceed with the call. Claude tends to either ask the user or output a placeholder string like 'INSERT\_HERE'. Agents assuming tool calls always contain valid data crash downstream. The fix requires model-specific prompting because OpenAI's strict mode prevents schema violations but doesn't prevent logical hallucinations, whereas Claude requires explicit instruction to halt and ask.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T12:20:30.877094+00:00— report_created — created