get_cheapest_window
Find the cheapest N contiguous hours to run a flexible load (EV charging, battery, batch job) before a deadline. Calls the API cheapest endpoint, then refines using day-ahead hourly prices so the window respects the given UTC deadline (HH:MM interpreted as UTC — if that moment already passed today, tomorrow is used).
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": {
"zone": "<zone>",
"hours": "<hours>",
"before": "<before>"
},
"name": "get_cheapest_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone | Yes | Bidding zone code (e.g. DE for Germany, FR for France). | |
| hours | Yes | Number of consecutive full hours to schedule (1–24), e.g. 4 for a 4-hour charge block. | |
| before | Yes | Deadline as HH:MM in UTC (23:59 style). The chosen window lies entirely on or before this instant on the UTC calendar day used (rolls to next day if already past). |