IRR
irrInternal rate of return: the per-period rate that zeroes the NPV of a cashflow series. Returns a percent, or null when the series never crosses zero.
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": {
"cashflows": "<cashflows>"
},
"name": "irr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cashflows | Yes | Cashflows by period, starting at period 0. Outflows are negative. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| irrPct | No | Internal rate of return, percent (null if none). |