plan_best_price_discharge
Plan battery discharge by selecting best-paid Amber intervals in a window above reserve SOC and optional minimum sell price; returns expected revenue and proposed slots without applying changes.
Instructions
Propose when to sell: picks the best-paid Amber intervals in the window (HH:MM) for the battery's usable energy above reserve_soc, optionally only above min_sell_c c/kWh. Returns intervals, expected revenue, the average it beats and proposed time_slots. Nothing is applied; apply with set_energy_mode(mode='forced', time_slots=...) after the user agrees. Hosts that support cards show the plan with an Apply button; a click on it is the user's yes.
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": {
"site_id": "<site_id>"
},
"name": "plan_best_price_discharge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | ||
| min_sell_c | No | ||
| window_end | No | ||
| reserve_soc | No | ||
| window_start | No | ||
| battery_capacity_kwh | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||