class

Tools::TextEditing::InsertLinesInTextFileTool

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

The InsertLinesInTextFileTool class defines a tool for inserting text at a specific line in a text file. 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