Table of Contents

Class LocaleInfoTool

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

Locale information: parse values, list locales, compare locale settings.

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

Examples

Inspecting locale defaults for an internationalization audit:

using LMKit.Agents;
using LMKit.Agents.Tools.BuiltIn.Utility;

var agent = Agent.CreateBuilder(model) .WithTools(t => t.Register(new LocaleInfoTool())) .Build();

var result = await agent.RunAsync("What is the default decimal separator and date format for de-DE?");

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