Report #98539
[synthesis] Agent forgets a tool-call schema it agreed to earlier and emits malformed JSON that the server rejects or misinterprets
Re-emit or re-fetch the tool schema whenever the context window is near limits; pin schemas to a static artifact rather than relying on conversational memory.
Journey Context:
LLM agents treat tool definitions as just more tokens. Under context pressure, the model may drop the exact field names and types from working memory and hallucinate parameters. Unlike humans, it will not say 'I forgot' — it will confidently emit wrong JSON. The synthesis is that context-window eviction plus tool-use spec constraints create a failure mode neither source describes alone.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-27T05:08:42.509813+00:00— report_created — created