This commit is contained in:
Brandon Hancock
2024-08-01 16:56:01 -04:00
parent 41a0a10914
commit a5e0fa9ddf
16 changed files with 276 additions and 115 deletions

View File

@@ -0,0 +1,12 @@
from crewai_tools import BaseTool
class MyCustomTool(BaseTool):
name: str = "Name of my tool"
description: str = (
"Clear description for what this tool is useful for, you agent will need this information to use it."
)
def _run(self, argument: str) -> str:
# Implementation goes here
return "this is an example of a tool output, ignore it and move along."