Report #42931
[synthesis] Model generates invalid tool call arguments or hallucinates parameters not in the schema
For GPT-4o, add explicit descriptions to enum values; for Claude, wrap schemas in strict JSON and avoid optional parameters if possible; for Gemini, define required arrays explicitly and avoid nested oneOf.
Journey Context:
GPT-4o often infers missing parameters or hallucinates values if descriptions are vague. Claude 3.5 Sonnet is highly literal but struggles with complex nested oneOf or anyOf schemas, often defaulting to the first option. Gemini 1.5 Pro requires explicit required arrays and fails silently on missing parameter descriptions. A unified schema must be flat, explicit, and heavily documented to work reliably across all three.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T02:31:43.816387+00:00— report_created — created