Class SemVerTool
A built-in tool for semantic version parsing and comparison.
Parse, compare, increment, and validate semantic versions.
public sealed class SemVerTool : ITool
- Inheritance
-
SemVerTool
- Implements
- Inherited Members
Examples
var tool = new SemVerTool();
registry.Register(tool);
// Agent can now: parse versions, compare versions, bump versions
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.