Report #102662
[synthesis] Tool name works with Claude but fails validation with OpenAI
Define tool names in snake\_case with no spaces or special characters, validate every function schema against JSON Schema Draft 7, avoid deeply nested objects, and provide defaults or clear descriptions for optional parameters.
Journey Context:
OpenAI's function-calling parser is stricter about tool-name formatting and schema shape than Anthropic's. Claude is more forgiving with camelCase or slightly malformed schemas but may silently misbehave. The robust cross-model pattern is strict snake\_case names and Draft 7 schemas, which works everywhere.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-09T05:15:18.639390+00:00— report_created — created