diff --git a/docs/core-concepts/Tools.md b/docs/core-concepts/Tools.md index 7060c5b0d..1be411d8d 100644 --- a/docs/core-concepts/Tools.md +++ b/docs/core-concepts/Tools.md @@ -176,7 +176,7 @@ def my_tool(question: str) -> str: import json import requests from crewai import Agent -from crewai.tools import tool +from crewai_tools import tool from unstructured.partition.html import partition_html # Annotate the function with the tool decorator from crewAI diff --git a/docs/how-to/Create-Custom-Tools.md b/docs/how-to/Create-Custom-Tools.md index cc0bf74c9..7923a30cf 100644 --- a/docs/how-to/Create-Custom-Tools.md +++ b/docs/how-to/Create-Custom-Tools.md @@ -48,7 +48,7 @@ def my_tool(question: str) -> str: import json import requests from crewai import Agent -from crewai.tools import tool +from crewai_tools import tool from unstructured.partition.html import partition_html # Annotate the function with the tool decorator from crewAI