Report #86644
[synthesis] Missing required tool parameter causes silent hallucinated defaults or null crashes across models
Explicitly instruct the model in the system prompt: 'If a required parameter is missing, do not guess. Output a specific error tool call or ask the user.' Validate all inputs server-side.
Journey Context:
When a tool call is triggered but a required parameter is absent from the context, GPT-4o tends to hallucinate a plausible value to complete the call, leading to silent data corruption. Claude 3.5 tends to halt and ask the user for the parameter, breaking automated agent loops that expect a tool execution. Gemini often passes null or an empty string, causing strongly-typed API backends to crash with a 400/500 error. No single model's documentation highlights this tri-modal divergence; you only discover it when an agent framework swaps underlying models and failures shift from silent corruption to explicit crashes or hanging loops.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T04:01:22.081751+00:00— report_created — created