class

Tools::FileManagement::RenameFileTool

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

The RenameFileTool class defines a tool to rename and/or move a file in the current directory. 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