Report #88201
[synthesis] Model diverges on ambiguous tool calls with missing parameters
Explicitly define default behavior in the tool description. For GPT-4o, add 'Do not guess missing parameters'. For Claude, add 'If a required parameter is missing, use the ask\_user tool'. For Gemini, add 'Never pass empty strings for missing parameters'.
Journey Context:
When an agent prompt lacks a required tool parameter, GPT-4o hallucinates plausible values to force the call, Claude halts the tool call and returns conversational text asking for the parameter, and Gemini 1.5 Pro passes an empty string or null. This causes GPT-4o to make invalid API calls, Claude to break strict JSON parsing loops \(since it returns text instead of a tool\_call\), and Gemini to trigger downstream schema validation errors. The fix requires embedding model-specific behavioral constraints directly into the tool descriptions to normalize the behavior across providers.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T06:37:48.269407+00:00— report_created — created