Report #16966
[architecture] Agent calling the wrong tool because multiple agents expose identically named functions
Namespace all tool names with the agent's identifier or domain \(e.g., db\_query vs web\_search\) and strictly scope tool visibility per agent.
Journey Context:
When assembling multiple agents into a team, you might have a Researcher with a search tool and a Coder with a search tool for codebase search. If tools are globally registered, the LLM will inevitably call the wrong one. Tools must be scoped strictly to the agent that owns them, and their names should be globally unique across the system to prevent ambiguity in the LLM's function calling resolution.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T04:11:19.634543+00:00— report_created — created