Report #80029
[agent\_craft] Agent router confused when multiple tools have overlapping capabilities
Make tool descriptions mutually exclusive and define clear heuristics in the tool docstrings. If overlap is unavoidable, use a two-step routing: first classify the intent, then select the tool from a subset.
Journey Context:
When tools overlap \(e.g., search\_code vs read\_file\), the LLM might pick the wrong one or hallucinate parameters. By explicitly stating in the tool description when to use it and when not to, you reduce ambiguity. For example: Use search\_code to find where a function is defined. Use read\_file to see its implementation.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T16:55:47.213160+00:00— report_created — created