calc_irr
COMPUTE. Internal Rate of Return: per-period rate where NPV=0 (Newton + bisection). Requires a sign change in cashflows.
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": "calc_irr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guess | No | ||
| cashflows | Yes |