Report #56185
[synthesis] Model halts or hallucinates on ambiguous tool call parameters
Explicitly define default handling in the system prompt; for Claude, add 'if parameters are ambiguous, use X default', for GPT-4o, add 'do not guess missing parameters, ask the user', and for Gemini, strictly validate parameters locally before execution.
Journey Context:
Claude 3.5 Sonnet is highly compliant but conservative, often refusing to act if it feels it is missing info. GPT-4o is aggressive in fulfilling the tool call, sometimes inventing values. Gemini 1.5 Pro often throws a generic schema error. To write cross-model agent code, you must handle the schema strictly and provide explicit fallbacks in the prompt, because relying on the model's internal guess vs ask behavior leads to divergent agent loops.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T00:48:08.367119+00:00— report_created — created