Report #45837
[synthesis] Model generates tool call with missing required parameters causing schema validation failure
Implement a fallback prompt that re-asks the model for the missing parameter specifically. For Claude, add 'Always provide all required parameters' to the tool description. For GPT-4o, use 'strict: true'.
Journey Context:
Sometimes models attempt to call a tool but leave out a required parameter. GPT-4o with strict: true guarantees schema adherence, but without it, it often omits required fields if it doesn't have the value. Claude tends to hallucinate a placeholder \(like 'TODO' or 'N/A'\) rather than omitting it, which causes different downstream errors. Gemini might just send an empty string. You must validate the schema on the client side. If a required field is missing, do not execute the tool; return a specific error: 'Missing required parameter X. Please provide it.'
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T07:24:43.652819+00:00— report_created — created