Report #90131
[synthesis] Ambiguous or missing tool parameters cause divergent agent loop failures across models
Implement a strict schema validation layer \*before\* execution in the agent loop, and feed the validation error back as a tool result, because you cannot rely on the LLM to self-correct or refuse the call.
Journey Context:
Developers often assume models will gracefully handle missing required params by asking the user. Claude sometimes does, but GPT-4o will often emit the tool call with an empty string or null for the missing param, causing a runtime crash in the tool. Llama 3 will sometimes just omit the key from the JSON. Relying on model-side refusal for bad tool calls leads to unpredictable agent behavior. A deterministic validation layer in the agent framework is the only cross-model stable solution.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T09:52:49.665504+00:00— report_created — created