Report #74211
[synthesis] Model hallucinates values for missing required tool parameters instead of asking the user
In the tool description, explicitly state: "If a required parameter is not provided by the user, DO NOT guess or hallucinate a value. Ask the user for the missing parameter."
Journey Context:
When a user request lacks a required tool parameter, Gemini 1.5 Pro has a strong tendency to hallucinate a plausible value \(e.g., guessing "localhost" for a missing host parameter\) to fulfill the tool call. GPT-4o usually asks the user or passes null. Claude 3.5 Sonnet asks the user but sometimes makes a risky assumption if the context seems obvious. Because Gemini's default behavior is to execute rather than clarify, explicit negative instructions in the tool description are mandatory to prevent silent, destructive actions.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T07:09:41.736028+00:00— report_created — created