Namespace LMKit.Agents.Tools.BuiltIn.Numeric
Classes
- BitwiseBitsTool
A built-in tool for bit manipulation operations.
Shift, count, get/set/clear/toggle individual bits.
- BitwiseConvertTool
A built-in tool for converting between integer and binary string, or decomposing flags.
Converts integers to binary representation, binary strings to integers, and analyzes flag bitmasks.
- BitwiseLogicTool
A built-in tool for bitwise logic operations.
AND, OR, XOR, NOT on integer operands.
- CalcAggregateTool
A built-in tool for aggregate operations on number arrays.
Supports minimum, maximum, average, and sum over a collection of numbers.
- CalcArithmeticTool
A built-in tool for basic arithmetic calculations.
Supports addition, subtraction, multiplication, division, modulo, and percentage.
- CalcLogTool
A built-in tool for logarithmic and exponential calculations.
Supports natural logarithm, base-10 logarithm, and exponential function.
- CalcMathTool
A built-in tool for common math functions.
Supports power, square root, absolute value, rounding, floor, and ceiling.
- CalcTrigTool
A built-in tool for trigonometric calculations.
Supports sine, cosine, and tangent with angle input in degrees.
- CurrencyFormatTool
A built-in tool for formatting, parsing, and rounding currency amounts, and retrieving currency metadata.
Supports locale-aware formatting with symbols, parsing currency strings back to numeric values, rounding with multiple modes (banker, standard, up, down, truncate), and querying currency info by code.
- CurrencyListTool
A built-in tool that lists all supported currencies with codes, symbols, and names.
- CurrencyMathTool
A built-in tool for currency arithmetic with proper banker's rounding.
Supports add, subtract, multiply, divide, and compare operations on currency amounts, automatically rounding to the correct number of decimal places for the specified currency.
- ExpressionEvalTool
A built-in tool for evaluating or simplifying math expressions.
Supports arithmetic operators, built-in math functions (sin, cos, sqrt, etc.), and named variables.
- ExpressionParseTool
A built-in tool for parsing, validating math expressions, or listing available functions.
Tokenizes expressions into structured components, validates syntax, and enumerates all supported math functions, constants, and operators.
- FinancialInvestmentTool
A built-in tool for investment analysis calculations.
Computes Net Present Value (NPV), Internal Rate of Return (IRR), and Return on Investment (ROI).
- FinancialLoanTool
A built-in tool for loan calculations.
Computes monthly payment amounts and generates full amortization schedules showing principal, interest, and remaining balance per period.
- 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.
- GuidGenerateTool
Generates GUIDs/UUIDs: single, bulk, or empty GUID.
- GuidParseTool
Parses, validates, formats, and compares GUIDs/UUIDs.
- IpCalcAdjacentTool
A built-in tool for navigating to adjacent IP addresses.
Get the next or previous IP address.
- IpCalcParseTool
A built-in tool for parsing and validating IP addresses.
Get type, version, check if private.
- IpCalcSubnetTool
A built-in tool for IP subnet calculations.
Network/broadcast address, contains check, IP range, CIDR/mask conversion.
- RandomChoiceTool
Performs random choice operations: UUID generation, pick/shuffle items, dice rolls, and coin flips.
- RandomNumberTool
Generates random floating-point or integer numbers within a range.
- StatsAnalysisTool
Performs statistical analysis on numeric data.
Supports correlation, linear regression, z-score calculation, and normalization.
- StatsDescriptiveTool
Computes descriptive statistics for a numeric data set.
Supports summary, mean, median, mode, variance, standard deviation, percentile, and quartiles.
- StatsVisualizeTool
Provides data visualization helpers for numeric data sets.
Supports histogram bin computation and outlier detection using z-score and IQR methods.
- UnitConvertTool
A built-in tool for unit conversions.
Supports conversions between common units of length, weight, temperature, time, and data size.