Table of Contents

Class FtpRenameTool

Namespace
LMKit.Agents.Tools.BuiltIn.Net
Assembly
LM-Kit.NET.dll

A built-in tool for renaming or moving a file on an FTP server.

Issues RNFR/RNTO commands to rename a remote file or move it to a different path.

public sealed class FtpRenameTool : IBuiltInTool, ITool, IToolMetadata
Inheritance
FtpRenameTool
Implements
Inherited Members

Examples

var rename = new FtpRenameTool(new FtpToolOptions
{
    Host = "ftp.example.com",
    Username = "user",
    Password = "pass"
});

Constructors

FtpRenameTool()

Initializes a new instance with default options.

FtpRenameTool(FtpToolOptions)

Initializes a new instance with the specified options.

Properties

Description

Gets a concise description of what the tool does.

InputSchema

Gets the JSON Schema defining the expected input arguments.

Name

Gets the stable, unique identifier for this tool.

Methods

InvokeAsync(string, CancellationToken)

Executes the tool with the specified JSON arguments.

Share