Class TextTransformTool
A built-in tool for text transformation operations.
Supports case conversion (upper, lower, title), trimming whitespace, and reversing text.
public sealed class TextTransformTool : IBuiltInTool, ITool, IToolMetadata
- Inheritance
-
TextTransformTool
- Implements
- Inherited Members
Examples
var tool = new TextTransformTool();
registry.Register(tool);
// Agent can now: convert case, trim whitespace, reverse text
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.