Table of Contents

Class MimeTool

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

A built-in tool for MIME type detection and file type information.

Detect MIME types from extensions or magic bytes, get file associations.

public sealed class MimeTool : ITool
Inheritance
MimeTool
Implements
Inherited Members

Examples

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

// Agent can now: detect MIME types, check file types, get extensions

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.