Report #71378
[synthesis] Model hallucinates or fails when required tool parameter is omitted
Provide explicit fallback instructions in the tool description. For GPT-4o, add 'Do not guess missing parameters' to the system prompt. For Claude, instruct it to return a specific error JSON if parameters are missing. For Gemini, add default values in the schema.
Journey Context:
When a required tool parameter is omitted from the prompt, GPT-4o often hallucinates a plausible value to force the tool call, Claude 3.5 Sonnet typically halts and returns a natural language apology or a partial tool\_use block, and Gemini 1.5 Pro tends to output natural language asking for the parameter instead of a tool call. Relying on models to handle missing params gracefully leads to unpredictable agent loops; explicitly defining failure modes in the tool schema or system prompt normalizes their behavior.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T02:23:20.213686+00:00— report_created — created