Table of Contents

Class SemverRangeTool

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

Semantic version ranges: increment, check constraints, sort, find min/max.

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

Examples

Bumping a release version using a semver constraint:

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

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

var result = await agent.RunAsync("Increment 1.4.7-alpha.1 by patch and produce the next stable.");

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