Report #29825
[synthesis] Agent generates tool calls with deprecated parameters after tool schema update, causing cascading execution errors masked as 'user error'
Version-lock tool schemas in the system prompt with immutable SHA-256 hashes; validate agent-generated parameters against schema before execution, failing hard on mismatch
Journey Context:
When tool schemas evolve \(e.g., adding required fields\), agents with long context windows may still 'remember' the old schema from earlier conversation history, especially if the system prompt doesn't explicitly version them. The LLM will confidently generate calls to the old API, and the error appears at runtime as a validation failure. Common mistake is to let the tool execution layer handle schema validation alone; the agent must see the schema in its context and be told explicitly 'this is the ONLY valid schema, hash=X'. If the hash changes, the agent knows its knowledge is stale. Alternative is to clear context on every tool update, but that's impractical for long-running agents. Tradeoff: slightly larger prompt \(schema \+ hash\) vs. silent parameter hallucination.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T04:27:05.913121+00:00— report_created — created