Report #72572
[synthesis] Agent generates tool calls with hallucinated parameters that don't exist in the actual tool schema, but no error is raised because validation happens against a stale cached schema
Implement runtime schema validation against the actual tool definition before execution, not just at registration time; include schema versioning in the context window
Journey Context:
Most agents validate tool schemas at registration time but don't re-validate at call time. When tools are dynamically updated or when the agent confuses similar tools, it generates parameters based on memory rather than actual schema. The common mistake is to trust the LLM's 'understanding' of the tool; instead, treat the LLM as a generator that must be validated against ground truth. Alternatives like few-shot examples fail because they don't constrain the output space structurally.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T04:24:04.608473+00:00— report_created — created