invest_or_prepay_loan
Compare post-tax investment return against effective loan cost to decide between investing surplus cash or prepaying debt.
Instructions
Should you invest surplus money or prepay an existing loan? Compares post-tax investment return vs effective loan cost.
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": {
"loan_rate": "<loan_rate>",
"investment_return": "<investment_return>"
},
"name": "invest_or_prepay_loan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loan_rate | Yes | ||
| tax_bracket | No | ||
| investment_return | Yes | ||
| loan_has_tax_benefit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |