Table of Contents

Class HashComputeTool

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

A built-in tool for computing cryptographic hashes.

Supports MD5, SHA1, SHA256, and SHA512 hash algorithms.

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

Examples

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

// Agent can now: compute MD5, SHA1, SHA256, SHA512 hashes

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