Table of Contents

Class CompressTool

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

A built-in tool for compression and archive operations.

Create, extract, and inspect ZIP archives.

public sealed class CompressTool : ITool
Inheritance
CompressTool
Implements
Inherited Members

Examples

var tool = new CompressTool(new CompressToolOptions
{
    AllowedPaths = new HashSet<string> { "/data" }
});
registry.Register(tool);

Constructors

CompressTool()

Initializes a new instance with default settings.

CompressTool(CompressToolOptions)

Initializes a new instance with custom 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.