find_cheapest_time
Finds a cost-minimizing continuous time window to run an appliance for a set duration between a start time and deadline, and shows the cost of starting now.
Instructions
Find the cheapest continuous time to run something (sauna, laundry, dishwasher, EV charging) for a given duration, between an earliest start and a deadline. Also shows what starting right now would cost instead. Prices are known until the end of today, or tomorrow after about 14:00 Finnish time.
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": {
"duration_minutes": "<duration_minutes>"
},
"name": "find_cheapest_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| finish_by | No | Must be finished by; Finnish time if no offset. Default: as late as prices are known | |
| energy_kwh | No | Energy it uses in total, to estimate the cost in euros | |
| earliest_start | No | Earliest start; without a UTC offset it is Finnish time. Default: now | |
| duration_minutes | Yes | How long it runs, in whole quarter-hours (e.g. 120 for 2 hours) | |
| margin_c_per_kwh | No | The user's retailer margin in c/kWh incl. VAT, from their contract. Only if the user has told you; omit to use the example default. Reuse it in later calls. | |
| transfer_c_per_kwh | No | The user's network transfer fee (siirtomaksu) in c/kWh incl. VAT, from their network company. Only if the user has told you; omit to use the example default. Reuse it in later calls. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ||
| start | Yes | ||
| cost_eur | Yes | Only when energy_kwh was given | |
| assumptions | Yes | ||
| if_started_now | Yes | Starting right away instead; missing if prices don't reach that far | |
| duration_minutes | Yes | ||
| average_total_c_per_kwh | Yes | Average total price over the window |