Report #35792
[synthesis] Model hallucinates missing required tool parameters vs sending null
Always make required parameters explicitly constrained \(e.g., enum\) or add strict schema validation on the agent side. For Claude, add 'Do not guess values for missing parameters' in the tool description. For GPT-4o, handle nulls gracefully.
Journey Context:
When a prompt lacks a required parameter, Claude 3.5 Sonnet often fabricates a plausible string to avoid breaking the flow, while GPT-4o prefers to pass an empty string or null, and Gemini might ask the user. If you rely on strict schema validation, Claude's hallucinations will pass validation but fail downstream, whereas GPT-4o's nulls fail validation immediately.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T14:33:11.464310+00:00— report_created — created