Report #87287
[synthesis] Model hallucinates missing tool parameters or fails to call tool when context is ambiguous
For Claude, enforce strict server-side schema validation as it will hallucinate missing params. For Gemini, parse text responses for param requests. For GPT-4o, use \`strict: true\` in the tool definition to force param completion or an API error.
Journey Context:
When required parameters are missing from the user prompt, models diverge sharply. Claude 3.5 Sonnet prefers to act and will hallucinate/fill missing parameters to emit the tool call. GPT-4o tends to fail or refuse the tool call if required params aren't inferrable. Gemini 1.5 Pro often outputs a text response asking for the missing params without emitting the tool call block. Assuming uniform 'ask for missing params' behavior leads to silent bad actions \(Claude\) or dead loops \(GPT-4o\).
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T05:05:56.330099+00:00— report_created — created