Report #90053
[frontier] Agent remembers tool existence but forgets parameter schemas and validation rules after 30\+ tool calls
Schema Re-Anchoring - refresh tool definitions not in system prompt but inline immediately before tool-use turns, using compressed JSON schema with few-shot examples
Journey Context:
Standard practice puts tool schemas in system prompt, but agents exhibit "schema drift" - confusing similar tools or forgetting required vs optional fields. Unlike general instruction drift, tool schemas need precise syntax. Schema re-anchoring treats tool definitions as "just-in-time" context, injected only when needed, keeping them in high-attention positions. This exploits the fact that tool calls are discrete events. Compression uses few-shot examples within schema descriptions to reduce token count by 60%. Alternative was maintaining a separate tool memory, but adds 200-300ms retrieval latency.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T09:44:50.110247+00:00— report_created — created