loan_payment
Loan calculator, mortgage payment calculator, amortization. Regular payment for a fixed-rate loan or mortgage: principal, annual interest rate (%), term in years or months, payments per year (12 = monthly). Returns the payment, total paid, total interest and the first and last schedule rows. Exact decimal maths. Price: $0.001 per call (x402, USDC on Base).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"principal": "<principal>",
"annual_rate": "<annual_rate>"
},
"name": "loan_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| years | No | ||
| months | No | ||
| per_year | No | ||
| principal | Yes | ||
| annual_rate | Yes |