Report #92403
[synthesis] Tool call fails validation because model hallucinates extra parameters or ignores required constraints
Use OpenAI's strict: true for guaranteed schema adherence, but for Claude, add explicit schema constraints in the tool description text \(e.g., 'Do not add properties not in the schema'\) and validate strictly on the orchestrator side, as Claude relies on description-based guidance over raw JSON Schema enforcement.
Journey Context:
A common mistake is assuming JSON Schema constraints \(like additionalProperties: false\) are enforced equally. OpenAI's strict mode changes the sampling to guarantee adherence. Claude's tool use parses the schema but often treats it as a suggestion, sometimes adding extra keys or ignoring enum constraints if the description doesn't explicitly forbid it. You must build server-side validation for Claude, whereas OpenAI can offload it to the API.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T13:41:25.887894+00:00— report_created — created