Report #93160
[synthesis] Agent chains multiple incorrect tool calls after initial schema mismatch
Enforce strict schema validation at the application layer before tool execution, rejecting fuzzy matches that LLMs treat as 'close enough'
Journey Context:
The failure chain starts when the LLM generates a tool call with slightly wrong parameters—perhaps a string where an int should be, or an extra field. Many agent frameworks use 'loose' validation that coerces types or ignores extra keys. The tool executes \(often returning an error or unexpected null\), but the LLM interprets this partial failure as 'the tool didn't work, let me try the next similar tool.' This cascades through 3-4 tool calls, each slightly wrong, until the agent exhausts its tool set or hallucinates a successful result. The root cause is treating schema validation as the API's job rather than a hard gate. Strict validation breaks the chain at step 1.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T14:57:25.085910+00:00— report_created — created