docs fix to xml tool import statement (#546)

* docs fix to xml tool import statement

* Update XMLSearchTool.md
This commit is contained in:
Alex Fazio
2024-05-01 17:53:49 +02:00
committed by GitHub
parent 3d5257592b
commit b862e464f8

View File

@@ -17,7 +17,7 @@ pip install 'crewai[tools]'
Here are two examples demonstrating how to use the XMLSearchTool. The first example shows searching within a specific XML file, while the second example illustrates initiating a search without predefining an XML path, providing flexibility in search scope.
```python
from crewai_tools.tools.xml_search_tool import XMLSearchTool
from crewai_tools import XMLSearchTool
# Allow agents to search within any XML file's content as it learns about their paths during execution
tool = XMLSearchTool()