Browse EIA routes / dataset metadata
eia_browse_routesExplore the EIA data tree to find datasets and get metadata like frequencies, facets, columns, and coverage. Call this before fetching data to learn valid query parameters.
Instructions
Explore the EIA dataset tree, or fetch a leaf dataset's metadata.
Behavior depends on the node type at route:
Intermediate node -> returns
{"type": "routes", "routes": [...]}, each item being a selectable child route id + name/description.Leaf dataset -> returns
{"type": "dataset", ...}with the availablefrequencies,facets(facet ids to filter on), validdatacolumns, and thestartPeriod/endPerioddate coverage. Feed these into eia_get_data.
Start with route="" to discover datasets, then drill down. This is the primary discovery tool; call it before eia_get_data to learn the valid columns, facet ids, and frequency for a dataset.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| route | No | Dataset route path to inspect. Use an empty string to list the top-level datasets (e.g. electricity, natural-gas, petroleum, coal, total-energy). Drill down by appending child ids, e.g. 'electricity' then 'electricity/retail-sales'. Leading/trailing slashes and a 'v2/' prefix are tolerated. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||