Table of Contents

Class FtpMkdirTool

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

A built-in tool for creating a directory on an FTP server.

Issues an MKD command to create a new directory at the specified remote path.

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

Examples

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

Constructors

FtpMkdirTool()

Initializes a new instance with default options.

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