Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.
Add example to Tool Repository docs (#3352)
Vini Brasilec03a53121d2
diff --git a/docs/en/enterprise/features/tool-repository.mdx b/docs/en/enterprise/features/tool-repository.mdxindex c43b96987..4f9ad064b 100644--- a/docs/en/enterprise/features/tool-repository.mdx+++ b/docs/en/enterprise/features/tool-repository.mdx@@ -35,6 +35,22 @@ crewai tool install <tool-name>This installs the tool and adds it to `pyproject.toml`.+You can use the tool by importing it and adding it to your agents:++```python+from your_tool.tool import YourTool++custom_tool = YourTool()++researcher = Agent(+ role='Market Research Analyst',+ goal='Provide up-to-date market analysis of the AI industry',+ backstory='An expert analyst with a keen eye for market trends.',+ tools=[custom_tool],+ verbose=True+)+```+## Creating and Publishing ToolsTo create a new tool project: