EDF: Electricity Max Power
edf_get_electricity_max_powerRetrieve daily maximum power in kVA over a date range and compare the peak with subscribed power to decide whether the electricity contract level is too high or near tripping.
Instructions
The highest power drawn each day, in kVA, as [date, max_kva] rows, with the range maximum and the subscribed power of the current contract to compare against. Use it to decide whether the subscription (e.g. 6, 9, 12 kVA) is too high or close to tripping. The meter's history goes back years; this filters it to the range asked.
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": "edf_get_electricity_max_power"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last day, INCLUSIVE, as YYYY-MM-DD, e.g. 2026-10-31. Defaults to yesterday: the meters report once a day, and a day's figures usually land the next morning around 08:00. | |
| from | No | First day, inclusive, YYYY-MM-DD. Defaults to 30 days before `to`. |