class

Tools::ImageEditing::WriteImageFileTool::Runner

Inherits Tools::ImageHelper < Tools::FileHelper < LLM::Function::Runner < Reference < Object

The Runner class executes the function

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