Class HashTool
A built-in tool for encoding, decoding, and hashing operations.
Supports Base64, URL encoding, and common hash algorithms.
public sealed class HashTool : ITool
- Inheritance
-
HashTool
- Implements
- Inherited Members
Examples
var tool = new HashTool();
registry.Register(tool);
// Agent can now: encode/decode base64, URL encode, compute MD5/SHA hashes
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.