Class DateTimeTools

java.lang.Object
com.bytedesk.ai.utils.tools.DateTimeTools

public class DateTimeTools extends Object
https://docs.spring.io/spring-ai/reference/api/tools.html
  • Constructor Details

    • DateTimeTools

      public DateTimeTools()
  • Method Details

    • getCurrentDateTime

      @Tool(description="Get the current date and time in the user\'s timezone") public String getCurrentDateTime()
    • setAlarm

      @Tool(description="Set a user alarm for the given time") void setAlarm(@ToolParam(description="Time in ISO-8601 format") String time)
    • getCurrentDateTimeMethodToolCallback

      String getCurrentDateTimeMethodToolCallback()