Electricity price history for a state
get_price_historyGets a state's monthly average residential electricity price history (EIA, back to 2001) with its 1-year and 5-year change, and a link to the chart page.
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": {
"state": "<state>"
},
"name": "get_price_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | U.S. state name, two-letter postal code, or slug (e.g. 'Ohio', 'OH', 'new-york'). | |
| months | No | How many recent months to return (1–120); default 24. |