Class FinancialTimeValueTool
A built-in tool for time value of money calculations.
Computes compound interest, future value of regular payments, and present value of a future sum.
public sealed class FinancialTimeValueTool : IBuiltInTool, ITool, IToolMetadata
- Inheritance
-
FinancialTimeValueTool
- Implements
- Inherited Members
Examples
var tool = new FinancialTimeValueTool();
var result = await tool.InvokeAsync(@"{""principal"":10000,""rate"":0.05,""periods"":12,""calculation"":""compound_interest""}");
Constructors
- FinancialTimeValueTool()
Initializes a new instance of the FinancialTimeValueTool class.
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.