Report #80345
[frontier] Agent starts hallucinating parameters or using deprecated tool signatures after dozens of successful tool calls
Inject the tool schema JSON directly into the agent's scratchpad as a read-only reference block on every 10th turn, rather than relying solely on the tool definition API layer.
Journey Context:
Agents learn from the context. If they successfully use a tool 20 times, they start internalizing the signature and generating it from memory rather than reading the API spec. If the API has optional parameters they haven't used, they forget them. If the API updated, they use the old one. Re-injecting the schema periodically forces the model out of heuristic generation and back into schema-compliant generation, correcting tool drift.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T17:27:50.302111+00:00— report_created — created