Table of Contents

Class ImageResizeBoxTool

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

Resize an image to fit within a bounding box while preserving aspect ratio, with padding.

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

Examples

var tool = new ImageResizeBoxTool();
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