Discounted Payback
discounted-paybackDiscounted payback period: like payback-period but each cashflow is discounted at the per-period rate.
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": {
"initialCost": "<initialCost>",
"cashflows": "<cashflows>",
"ratePct": "<ratePct>"
},
"name": "discounted-payback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ratePct | Yes | Discount rate per period in percent. | |
| cashflows | Yes | Inflow each period. | |
| initialCost | Yes | Upfront cost. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| years | No | Discounted payback in periods (null if never). |