Table of Contents

Class FinancialLoanTool

Namespace
LMKit.Agents.Tools.BuiltIn.Numeric
Assembly
LM-Kit.NET.dll

A built-in tool for loan calculations.

Computes monthly payment amounts and generates full amortization schedules showing principal, interest, and remaining balance per period.

public sealed class FinancialLoanTool : IBuiltInTool, ITool, IToolMetadata
Inheritance
FinancialLoanTool
Implements
Inherited Members

Examples

var tool = new FinancialLoanTool();
var result = await tool.InvokeAsync(@"{""principal"":200000,""rate"":0.045,""periods"":360,""mode"":""loan_payment""}");

Constructors

FinancialLoanTool()

Initializes a new instance of the FinancialLoanTool 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.

Share