Spaces:
Sleeping
Sleeping
File size: 396 Bytes
46a86a7 251729e 46a86a7 251729e 46a86a7 4eccbfe 251729e 4eccbfe 251729e 4eccbfe |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
from crewai_tools import tool, ScrapeWebsiteTool, SerperDevTool
@tool("Today tool")
def today_tool() -> str:
"""Returns today's date. Use this for any questions related to knowing today's date.
Any date mathematics should occur outside of this function."""
return str(date.today())
def search_tool():
return SerperDevTool()
def scrape_tool():
return ScrapeWebsiteTool() |