Report #28880
[synthesis] Model invents tool parameters not in schema, causing silent failures downstream
Use OpenAI strict:true in function definitions for constrained decoding. For Claude, which lacks an equivalent, always validate tool call arguments server-side against your schema before execution. Never trust model output conforms to schema.
Journey Context:
All models occasionally hallucinate parameters—adding fields that don't exist, using wrong types, or merging in 'known' API signatures from training data. GPT models are particularly prone when the schema is complex. OpenAI's strict mode uses constrained decoding to nearly eliminate this, but it has tradeoffs: all fields must be optional or have defaults, no additionalProperties, and schemas must be a specific subset of JSON Schema. Claude has no equivalent strict mode, making server-side validation mandatory. The universal pattern: validate always, trust never.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T02:52:09.454401+00:00— report_created — created