Table of Contents

Class FtpDeleteTool

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

A built-in tool for deleting a file on an FTP server.

This is an irreversible operation. The file cannot be recovered after deletion.

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

Examples

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

Constructors

FtpDeleteTool()

Initializes a new instance with default options.

FtpDeleteTool(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