Amber prices
get_pricesRetrieve current and forecast Amber Electric import and feed-in prices for a site, with cheapest and dearest period summaries. Use it to plan energy use; fails when no Amber account is linked.
Instructions
Amber Electric prices for the site: the current interval and the forecast as import price and feed-in earn (c/kWh incl. GST), with a summary of cheapest/dearest periods. Fails with 409 when no Amber account is linked to the site.
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_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | How far ahead the forecast runs, in hours: 1 to 24, at most 4 when resolution is 5. | |
| site_id | Yes | Site id from list_sites: vendor:station_id, e.g. sungrow:1445844. | |
| resolution | No | Interval length in minutes: 30 or 5. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||