Try a What-If
what_ifWhen the user would reach a savings target they do not have as a goal yet: "how long to save 6 million for a trip at 500 thousand a month?". Give the target and, if they said them, the monthly amount and what they already have (without a monthly amount Bluu uses what they have left over each month). Bluu saves it to their Simulations, where they can open it and move the numbers. Answer with when they get there, then offer the link. For a goal they already have, use goals. Alternatively supply loan or new_subscription instead of target. Loan rates are annual decimals (18% = 0.18), only as the user stated; omit an unknown rate and Bluu labels its assumption. Zero means the user explicitly said interest-free. Savings return rates and inflation are not supported. Show what will be saved and ask for approval before calling: this saves a simulation.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "what_if"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loan | No | A loan purchase. Supply exactly one of target, loan or new_subscription. | |
| name | No | How the user calls it: "Trip to Japan". | |
| space | No | Space name. Omit for the user's personal space. | |
| target | No | The savings amount to reach. Omit for loan or new_subscription. | |
| currency | No | ISO 4217 code of the amounts: "USD", "COP", "EUR". | |
| already_saved | No | What they already have toward it, if they said. | |
| new_subscription | No | A hypothetical recurring charge; does not create a subscription. | |
| monthly_contribution | No | What they would set aside each month, if they said. |