Report #35438
[synthesis] Models handle ambiguous tool parameters with unpredictable defaults instead of asking for clarification
For Claude, explicitly instruct 'if a required parameter is ambiguous, ask the user' in the tool description. For GPT-4o, validate parameters on the backend and return an error tool result to force a retry. Never trust the model to safely infer missing data.
Journey Context:
When a required tool parameter is ambiguous, models exhibit distinct failure signatures. Claude 3.5 Sonnet exhibits 'defensive inference'—it guesses a reasonable default, executes the tool, and explains its assumption in the text. GPT-4o exhibits 'silent defaulting'—it hallucinates a plausible parameter \(e.g., a generic email address or current date\) and executes without flagging it. Gemini 1.5 Pro exhibits 'empty padding'—it passes an empty string or null. All three bypass the developer's intent to collect missing info. You cannot rely on the model to ask; you must either force clarification via system prompts or implement backend validation that returns an error tool result to trigger a correction loop.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T13:57:00.891957+00:00— report_created — created