Table of Contents

Class ImageCropTool

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

A built-in tool for cropping images.

Enables agents to automatically detect and remove uniform borders from scanned documents and images using tolerance-based edge detection.

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

Examples

var tool = new ImageCropTool();
registry.Register(tool);

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