Table of Contents

Class ValidatorFormatTool

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

A built-in tool for validating common formats.

Validate emails, URLs, IP addresses, phone numbers, credit cards, dates, and times.

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

Examples

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

// Agent can now: validate emails, URLs, IPs, phone numbers, credit cards, dates, times

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