class

Tools::FileManagement::DeleteFileTool

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

The DeleteFileTool class defines a tool to delete a file by moving it to a ".deleted_files/" folder, where it preserves the files location path and prepends a timestamp prepended to the filename.

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