get_curve
Retrieve power and state-of-charge history for a site across 1-day, 7-day, or 30-day ranges. Use it to inspect PV, load, battery, grid, and SOC time series before summarising.
Instructions
Power and SOC history. range 1d = 5-minute points for one local day (day = YYYY-MM-DD, default today); 7d / 30d = daily values. Returns times (UTC), local_times, and series per channel (pv, load, battery, grid, soc). Large: summarise before quoting.
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_curve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | No | ||
| range | No | 1d | |
| site_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||