Class TemplateRenderTool
Renders a text template with variable substitution, conditionals, and loops.
public sealed class TemplateRenderTool : IBuiltInTool, ITool, IToolMetadata
- Inheritance
-
TemplateRenderTool
- Implements
- Inherited Members
Examples
var tool = new TemplateRenderTool();
registry.Register(tool);
// Agent can now: substitute variables, apply conditionals, iterate loops
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.