Date and Time Toolset#

Generated byAI

This toolset provides tools for retrieving date and time information.

get_current_datetime#

Purpose: Returns the current date and time as a string in ISO 8601 format.

Parameters#

This tool does not require any parameters.

Success Case Example#

Input:

{}

Output:

{
  "current_datetime": "2023-10-04T15:30:45+00:00"
}

Error Case Examples#

  1. No Known Errors: This tool is designed to always return the current date and time without any dependencies on external factors. Therefore, there are no known error cases.

Notes#

  • The returned datetime string is in ISO 8601 format, which includes the date (YYYY-MM-DD), time (HH:MM:SS), and timezone offset (+00:00 for UTC).
  • The datetime is generated at the moment the tool is executed, ensuring real-time accuracy.