Report #103229
[synthesis] Anthropic's native structured output / strict tool use rejects JSON Schema value constraints and top-level oneOf/allOf/anyOf that OpenAI accepts
Before sending schemas to Anthropic, remove min/max, minLength/maxLength, multipleOf, and top-level combinators; use simpler objects with optional unions modeled via property presence or null. Do not reuse the same rich schema you send to OpenAI.
Journey Context:
OpenAI's structured outputs support pattern, minimum/maximum, minItems/maxItems, etc. Anthropic's native json\_schema and strict tool input\_schema reject these keywords and any top-level anyOf/oneOf/allOf. The failure is a 400 for the whole request, so a single tool can break a multi-tool session.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-10T05:14:11.356802+00:00— report_created — created