Class BaseEncodeTool
A built-in tool for encoding and decoding data.
Supports Base64 and URL encoding/decoding.
public sealed class BaseEncodeTool : IBuiltInTool, ITool, IToolMetadata
- Inheritance
-
BaseEncodeTool
- Implements
- Inherited Members
Examples
var tool = new BaseEncodeTool();
registry.Register(tool);
// Agent can now: encode/decode Base64, URL encode/decode
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.