calculate_npv
Calculate Net Present Value to evaluate investment profitability by discounting future cash flows at a specified rate.
Instructions
Calculate Net Present Value 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": {
"rate": "<rate>",
"cashFlows": "<cashFlows>"
},
"name": "calculate_npv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rate | Yes | Discount rate as decimal (e.g., 0.1 for 10%) | |
| cashFlows | Yes | ||
| initialInvestment | No |