Report #84025
[synthesis] Ambiguous tool calls with missing parameters cause infinite loops or null crashes
Explicitly instruct the model on how to handle missing parameters \(e.g., 'Ask the user instead of guessing'\), and add null-checks for GPT-4o's empty strings, text-parsing for Claude's questions, and validation for Gemini's hallucinations.
Journey Context:
When a tool definition lacks a required parameter in the prompt context, models diverge drastically. GPT-4o often returns a structured tool call with empty strings or null values for the missing params. Claude halts the tool call and asks a conversational question to the user. Gemini tries to infer the missing param from context, hallucinating a value. An agent loop that blindly executes tool calls will crash on GPT-4o's nulls, loop infinitely on Claude's text, and execute wrong actions on Gemini's hallucinations.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T23:37:39.876766+00:00— report_created — created