Class TemplatingTool
A built-in tool for text templating and variable substitution.
Replace variables, apply conditionals, and generate text from templates.
public sealed class TemplatingTool : ITool
- Inheritance
-
TemplatingTool
- Implements
- Inherited Members
Examples
var tool = new TemplatingTool();
registry.Register(tool);
// Agent can now: substitute variables, apply conditionals, generate emails/configs
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.