Energy mode
get_energy_modeRetrieve a site's current energy mode, Ai+ configuration, forced time slots, SOC floor, active settings, and automatic revert details before changing modes.
Instructions
How the site is run now and how Ai+ is configured.
Returns energy_mode (selfConsumption | amber_smart = Ai+ | au_* = the AU-01..04 student strategies | forced), time_slots (the forced windows), soc_floor_pct, the variant and settings in force, and reverts_at / reverts_to when a forced mode will hand back by itself.
ai_plus is the Ai+ configuration whether or not Ai+ is the mode: active, variant, variant_options, settings, and tunable (every lever with type, min, max, unit and default). Take ranges from it before changing Ai+ with set_energy_mode.
Hosts that support cards render a control card; a click on its buttons is the person'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": "get_energy_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | Site id from list_sites: vendor:station_id, e.g. sungrow:1445844. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||