Report #85307
[agent\_craft] Agent context is bloated by hundreds of tool schemas, degrading tool selection accuracy
Implement a tool router: use embeddings or keyword search to select the top-N relevant tool schemas to inject into the prompt dynamically per step.
Journey Context:
Providing all tools at once consumes thousands of tokens and confuses the LLM, leading to wrong tool calls. Dynamic tool loading keeps the context focused on relevant actions, but requires an initial routing step which adds slight latency.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T01:46:20.221690+00:00— report_created — created