fix: docs import path for json search tool (#2631)

- updated import path to crewai-tools
- removed old comment
This commit is contained in:
Greyson LaLonde
2025-04-17 07:51:20 -07:00
committed by GitHub
parent a96a27f064
commit 8e555149f7

View File

@@ -30,7 +30,7 @@ pip install 'crewai[tools]'
Here are updated examples on how to utilize the JSONSearchTool effectively for searching within JSON files. These examples take into account the current implementation and usage patterns identified in the codebase.
```python Code
from crewai.json_tools import JSONSearchTool # Updated import path
from crewai_tools import JSONSearchTool
# General JSON content search
# This approach is suitable when the JSON path is either known beforehand or can be dynamically identified.