File size: 403 Bytes
4469de8
4eccbfe
bfdc5d8
 
 
 
 
 
3416eab
ce808f5
bfdc5d8
 
 
 
251729e
4eccbfe
 
251729e
8d1965a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from crewai_tools import BaseTool, ScrapeWebsiteTool, SerperDevTool

from datetime import date

class TodayTool(BaseTool):
    name: str ="Today Tool"
    description: str = ("Gets today's date.")
    
    def _run(self) -> str:
        return (str(date.today()))

def today_tool():
    return TodayTool()

def search_tool():
    return SerperDevTool()

def scrape_tool():
    return ScrapeWebsiteTool()