nper
Calculate how many payment periods are needed to pay off a loan or reach an investment future value using a fixed rate and recurring payment.
Instructions
Calculate number of periods.
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": {
"rate": "<rate>",
"pmt": "<pmt>",
"pv": "<pv>"
},
"name": "nper"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fv | No | ||
| pv | Yes | ||
| pmt | Yes | ||
| rate | Yes | ||
| type | No |