Table of Contents

Class DateTimeCalcTool

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

A built-in tool for date/time calculations.

Parse date strings, add intervals to dates, and compute differences between dates.

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

Examples

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

// Agent can now use: parse date strings, add intervals, calculate date differences

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