Report #54039
[agent\_craft] Flat tool list exceeds context limit or attention span
Implement tool namespaces or a 'tool router' - first LLM call selects namespace \(e.g., 'file\_ops', 'network\_ops'\), second call selects specific tool with full schema.
Journey Context:
Listing 50\+ tools \(common in enterprise APIs\) overwhelms even 128k contexts. Recency bias means later tools ignored. Hierarchical selection \(coarse-to-fine\) mimics human menu navigation and reduces cognitive load per step. This is standard in 'ToolLLM' and 'Gorilla' for API selection.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T21:11:57.546340+00:00— report_created — created