Report #42031
[synthesis] Missing required tool parameter causes hallucinated arguments or silent null passing
Explicitly instruct the model in the system prompt: 'If a required parameter is missing from the user request, do not guess the value and do not pass null. Instead, ask the user for the missing parameter.'
Journey Context:
Developers assume all models handle OpenAPI/JSON schema missing parameters the same way. GPT-4o tries to be 'helpful' by guessing plausible values \(leading to silent bad API calls\), Claude is strict but might fail the task entirely, and Gemini often passes empty strings which causes downstream schema validation errors. The unified fix is to override the default helpfulness with explicit instruction, forcing a deterministic failure mode \(asking the user\) across all providers.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T01:01:22.171764+00:00— report_created — created