optimizer_cheapest_window
Flexible-load agents buy this endpoint to schedule a contiguous operating window at the lowest average electricity price.
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": "optimizer_cheapest_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration_hours | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| source | Yes | ||
| window | Yes | ||
| best_end | Yes | ||
| timestamp | Yes | ||
| best_start | Yes | ||
| day_avg_ct_kwh | Yes | ||
| duration_hours | Yes | ||
| avg_price_ct_kwh | Yes | ||
| savings_vs_avg_pct | Yes |