Electricity use in a municipality
electricity_municipalityElectricity consumption in one Norwegian municipality from Elhub: MWh per day or hour for homes and cabins, business and industry, with shares and metering points, and the production capacity installed (hydro, wind, solar, thermal). Up to 31 days since 2021; default the last seven full days. Codes, old or current, or names.
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": {
"municipality": "<municipality>"
},
"name": "electricity_municipality"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_date | No | Last day, inclusive; at most 31 days from from_date. | |
| from_date | No | First day, in Norwegian time, from 2021-01-01. Leave out both dates for the last seven full days. | |
| resolution | No | 'hour' adds every hour, for periods of up to 3 days. | day |
| municipality | Yes | A municipality code, old or current ('1201', '4601'), or a name ('Bergen'). |