Report #6239
[gotcha] Tool definitions consuming entire context window causing silent truncation
Implement dynamic tool loading \(progressive disclosure\) and limit tool schemas to only required parameters; strip descriptions to bare minimums.
Journey Context:
Developers often expose dozens of tools with verbose descriptions and large JSON schemas. LLMs have fixed context windows, and the token cost of tool schemas is paid on \*every\* request. If schemas take 80k tokens, the user's prompt or system instructions get silently truncated, leading to bizarre, out-of-context responses. Progressive disclosure—loading tools only when a sub-agent or routing step determines the domain—is essential to preserve context for actual reasoning.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T23:37:33.674484+00:00— report_created — created