Report #101262
[synthesis] Assuming \`strict: true\` gives the same schema guarantee on OpenAI and Anthropic tool definitions
On OpenAI, use \`strict: true\` with \`additionalProperties: false\` and all fields \`required\` for generation-time constrained decoding. On Anthropic, \`strict: true\` enforces via validation and disallows numeric/string constraints like \`minimum\`, \`maxLength\`, \`pattern\`; avoid those keywords or disable strict mode.
Journey Context:
OpenAI strict mode uses structured-output token masking, making malformed calls structurally impossible for supported schemas. Anthropic strict tool use validates against the schema and has its own unsupported JSON Schema features. Sharing one strict schema across providers silently breaks on whichever one rejects the unsupported keywords.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-06T05:15:49.174244+00:00— report_created — created