Class TextTool
A built-in tool for text manipulation operations.
Supports case conversion, search/replace, splitting, trimming, and regex matching.
public sealed class TextTool : ITool
- Inheritance
-
TextTool
- Implements
- Inherited Members
Examples
var tool = new TextTool();
registry.Register(tool);
// Agent can now: convert case, count words, extract patterns, etc.
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.