Package com.bytedesk.ai.tools
Class DateTimeTools
java.lang.Object
com.bytedesk.ai.tools.DateTimeTools
https://docs.spring.io/spring-ai/reference/api/tools.html
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
-
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
@Tool(description="Get the current date and time using MethodToolCallback") public String getCurrentDateTimeMethodToolCallback()
-