class

Tools::ImageEditing::ReadImageFileTool

Inherits Tools::BuiltInFunction < LLM::LocalFunction < LLM::Function < Reference < Object

The ReadImageFileTool class defines a tool for reading an image file and returning it as a data URL. It ensures the operation is performed securely within the allowed directory, avoiding access to unauthorized paths.

Class methods

description

The pre-loaded static description of the function.

function_name

The name of the function

Source
side_effects

Instance methods

description

The runtime description of the function.

name

The name of the function

Source
new_runner

Return an instance of this function's Runner

Source

Nested types