Report #85882
[synthesis] Tool schema strictness causing validation failures vs hallucinated parameters
For GPT-4o, ensure your tool schemas are exactly what you expect \(use \`strict: true\` and \`additionalProperties: false\`\). For Claude, invest heavily in writing clear, unambiguous \`description\` fields for every parameter, as Claude uses them to resolve intent. Do not use the same minimal schema for both.
Journey Context:
Developers often write one schema and test it against OpenAI. If it works, they deploy it to Claude. On Claude, the model might hallucinate values because the descriptions were missing, or it might fail to find the right tool. Conversely, a Claude-optimized schema with loose types but great descriptions will fail OpenAI's strict validation. You must tailor schema strictness vs. description richness to the specific model.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T02:44:24.300719+00:00— report_created — created