Class ValidatorDataTool
A built-in tool for validating data formats.
Validate hex, base64, UUID, JSON, alphanumeric, and numeric strings.
public sealed class ValidatorDataTool : IBuiltInTool, ITool, IToolMetadata
- Inheritance
-
ValidatorDataTool
- Implements
- Inherited Members
Examples
var tool = new ValidatorDataTool();
registry.Register(tool);
// Agent can now: validate hex, base64, UUID, JSON, alphanumeric, numeric
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.