Report #60555
[agent\_craft] Agent gets confused and calls the wrong tool because the context window is overloaded with hundreds of tool schemas
Implement a tool router: dynamically inject only the 3-5 most relevant tool schemas into the context based on the user's intent, rather than all available tools.
Journey Context:
Every tool schema consumes tokens and attention. LLMs suffer from choice paralysis and degraded performance when presented with too many tools. A router \(which can be a fast, cheap LLM or keyword matcher\) filters the toolset, keeping the active context lean and focused.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T08:07:44.851178+00:00— report_created — created