DateTimeTool
org.llm4s.toolapi.builtin.core.DateTimeTool
object DateTimeTool
Tool for getting current date and time information.
Features:
- Current date/time in any timezone
- Multiple output formats (ISO, human-readable)
- Timestamp conversion
- Date component extraction
Attributes
- Example
-
import org.llm4s.toolapi.builtin.core.DateTimeTool val tools = new ToolRegistry(Seq(DateTimeTool.tool)) agent.run("What is the current time in Tokyo?", tools) - Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
DateTimeTool.type
Members list
In this article