Report #42594
[synthesis] Backend crashes differentiating between null and missing optional tool parameters
Normalize tool call arguments on the backend to treat omitted keys and keys with null or empty string values identically before validation.
Journey Context:
When optional parameters are missing, GPT-4o typically omits the key from the JSON payload entirely. Claude almost always includes the key with a null value or empty string. Gemini varies but often omits. Backend code that strictly differentiates between undefined \(key missing\) and null \(key present\) will work for GPT-4o but break for Claude. Normalizing these states is required for cross-model compatibility.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T01:57:45.467278+00:00— report_created — created