Report #50362
[synthesis] Models handle missing tool parameters differently causing silent failures or broken JSON
Always validate tool call arguments on the client side and implement a retry loop with the model's own error message if a required parameter is missing or null, rather than assuming the model will ask the user for clarification.
Journey Context:
Developers often assume models will behave like humans and ask for missing info. GPT-4o sometimes asks a clarifying question in text, breaking the tool call parser. Claude will often just fail the API call or output text refusing the tool use. Gemini Pro might silently pass null or an empty string. Client-side validation is the only reliable cross-model fix.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T15:00:48.639606+00:00— report_created — created