get_current_date_and_time()

Tool Class

This is a helper tool and can be used to anchor the agent’s current time and date.

Tool Function

Returns the current date and time as a string in the format YYYY-MM-DD HH:MM:SS. This will always be ‘2024-03-25 10:00:00’ for all runs.

Caveats

Nonw

Usage Example

get_current_date_and_time()
h
"""
'2024-03-25 10:00:00'
"""