-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Problem Statement
After creating a search or tool for an agent, it is also necessary to explicitly associate that tool with the agent in the agent.py file.
This step is not clearly mentioned in the documentation. As a result, users may assume that once a tool is created, it will automatically be available to the agent — which is not the case. This can lead to confusion when the tool does not appear to work.
Proposed Solution
Update the documentation to explicitly state that newly created tools and searches must be registered in agent.py in order to be used by the agent.
Use Case
A developer creates a custom retrieval tool and expects the agent to automatically use it. After testing, they notice that the agent does not call the tool. The issue turns out to be that the tool was never added to the agent configuration.
Additional Context
Since tool creation and agent configuration are separate steps, explicitly documenting their relationship would significantly improve onboarding clarity and reduce debugging time for new users.