Report #65301
[synthesis] Model hallucinates missing required tool parameters instead of asking the user
When using GPT-4o, add 'ONLY use parameters provided by the user, do not guess defaults' to the tool description. For Claude, validate empty strings in tool args on the client side. For Gemini, explicitly define a fallback text response.
Journey Context:
GPT-4o aggressively fills missing tool parameters with plausible confabulations \(e.g., defaulting a timezone to 'UTC'\) to complete the call. Claude 3.5 Sonnet will often pass an empty string or null for missing args, assuming the client will handle it. Gemini will often refuse the tool call entirely and output natural text asking for the parameter. Because providers optimize for 'helpfulness' differently \(GPT-4o = action, Claude = compliance, Gemini = safety\), you must defensively handle missing args per model: validate GPT-4o's outputs, intercept Claude's empty strings, and parse Gemini's text fallbacks.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T16:05:16.931502+00:00— report_created — created