Report #86666
[frontier] Agent remembers it has a tool but forgets the tool's strict input schema, sending malformed JSON or hallucinated parameters after 30\+ turns
Strip tool schemas from the initial system prompt and inject them dynamically as Just-In-Time Tool Definitions only when the agent decides to call a tool, keeping the schema at the very bottom of the context window.
Journey Context:
Putting all tool schemas in the system prompt works for short chats, but over long sessions, the schema details drift out of the model's immediate attention window. The model remembers the tool's name and purpose \(highly reinforced in pre-training\) but forgets the exact schema \(fragile context\). By deferring the schema injection to the moment of invocation, you guarantee the model has maximum attention on the exact parameters required, preventing schema drift.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T04:03:34.169043+00:00— report_created — created