Report #88205
[synthesis] JSON Schema strict mode rejections when sharing tool definitions across models
For cross-model schemas, always set \`additionalProperties: false\` and make all fields required \(using nullable types if needed\) to satisfy GPT-4o. For Claude, explicitly state in the field description what happens if the value is unknown \(e.g., 'omit this field if not found'\).
Journey Context:
Cross-model tool definitions fail because OpenAI's \`strict: true\` mode enforces structural JSON Schema rules \(rejecting schemas without \`additionalProperties: false\` or with optional fields\), while Anthropic's API is more lenient with optional fields but relies heavily on natural language descriptions within the schema to prevent hallucinated defaults. A unified schema must satisfy OpenAI's strict structural constraints while adding descriptive guards for Claude.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T06:38:11.976621+00:00— report_created — created