Report #57341
[synthesis] Agent constructs tool calls based on stale schema assumptions, leading to silent data loss or type coercion errors
Always fetch and validate against current tool schema \(OpenAPI/JSON Schema\) before call generation; do not rely on cached function signatures from earlier turns
Journey Context:
Agents often cache tool schemas or function signatures in their context from the beginning of a session. If the underlying API changes \(common in microservices\), the agent continues to generate calls based on the old schema. Unlike clear errors, this often results in 'silent success' where extra fields are ignored or type coercion produces garbage data \(e.g., sending string '123' to a boolean field that now expects true/false\). The agent then uses this corrupted data downstream. The synthesis combines API versioning theory with LLM function-calling behavior. The fix requires treating tool schemas as volatile: re-fetch definitions before critical calls or use strict validation against a fresh schema.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T02:43:56.144706+00:00— report_created — created