net_present_value
Net Present Value (discounted cash flow). NPV = sum(CF_t/(1+rate)^t). cashflows[0] = period 0 (usually the negative outlay).
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": "net_present_value"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rate | Yes | ||
| currency | No | USD | |
| cashflows | Yes |