class

Tools::DateAndTime::GetCurrentDatetimeTool::Runner

Inherits LLM::Function::Runner < Reference < Object

Instance methods

execute(args : JSON::Any) : String

Implement this method to handle the LLM function call, and return

  • EITHER a String with the JSON value,
  • OR a Reply if you need to return attachments.
Source
success_response(current_datetime)

Create a success response as a JSON string

Source