Class EncodingTool
A built-in tool for text encoding detection and conversion.
Detect encodings, convert between encodings, fix mojibake issues.
public sealed class EncodingTool : ITool
- Inheritance
-
EncodingTool
- Implements
- Inherited Members
Examples
var tool = new EncodingTool();
registry.Register(tool);
// Agent can now: detect encoding, convert text, fix encoding issues
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.