Table of Contents

Class RandomTool

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

A built-in tool for generating random values.

Supports random numbers, UUIDs, and random selection from lists.

public sealed class RandomTool : ITool
Inheritance
RandomTool
Implements
Inherited Members

Examples

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

// Agent can now: generate random numbers, pick random items, create UUIDs

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.