Class TemplateAnalyzeTool
Analyzes a text template: extract variables, validate syntax, or escape/unescape template delimiters.
public sealed class TemplateAnalyzeTool : IBuiltInTool, ITool, IToolMetadata
- Inheritance
-
TemplateAnalyzeTool
- Implements
- Inherited Members
Examples
var tool = new TemplateAnalyzeTool();
registry.Register(tool);
// Agent can now: extract variables, validate templates, escape/unescape delimiters
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.