xirr
Calculate the internal rate of return for irregular cash flows by entering dated amounts and an optional guess, so you can evaluate investment performance accurately.
Instructions
Calculate XIRR from irregular 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": "xirr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guess | No | ||
| cashflows | Yes |