XIRR calculator
xirrAnnualized return (XIRR) for cash flows on specific dates, like Excel XIRR. Use this for real investments with irregular timing (capital calls, distributions, follow-ons); use irr only for evenly spaced yearly flows. Interactive version: https://raziel.co/tools/xirr-calculator
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": "xirr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cash_flows | Yes | Dated cash flows in any order. Negative amount = money invested, positive = money received or current value. |