npv
Calculate the net present value of periodic cash flows given a discount rate.
Instructions
Calculate Net Present Value of a series of cash flows.
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": {
"cash_flows": "<cash_flows>",
"discount_rate": "<discount_rate>"
},
"name": "npv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cash_flows | Yes | Cash flow per period; index 0 is t=0. | |
| discount_rate | Yes | Discount rate as a percentage. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||