brainsqueeze's picture
v2 of public chat
ef088c2 verified
raw
history blame
389 Bytes
from datetime import date
from langchain_core.tools import tool
@tool
def get_current_day() -> date:
"""Get the current day to reference for any time-sensitive data requests. This might be useful for information
searches through news data, where more current articles may be more relevant.
Returns
-------
date
Today's date
"""
return date.today()