Report #98953
[synthesis] GPT-4o hallucinates values for missing required function parameters instead of asking
Validate every tool-call argument against the JSON schema before execution and add a system instruction: 'If any required parameter is unknown, ask the user rather than guess a value'.
Journey Context:
Claude and Kimi more often pause and request missing required parameters, while GPT-4o tends to fabricate plausible values to produce a valid function call. Agents assume the 'required' field in the schema is enough, but the model optimizes for call validity. Schema validation catches hallucinated values, and the prompt guardrail changes the optimization target from 'produce a call' to 'produce a correct call or ask'.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-28T05:03:26.173060+00:00— report_created — created