irr
Calculate the internal rate of return for periodic cash flows, including an initial investment at time 0, to assess investment profitability. Requires at least one positive and one negative cash flow.
Instructions
Internal rate of return of periodic cash flows (first flow at time 0). Needs at least one positive and one negative flow.
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>"
},
"name": "irr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guess | No | ||
| cash_flows | Yes |