Browse EIA Routes
eia_browse_routesLists child routes under a given path in the EIA dataset taxonomy. Start with no path to get the 14 top-level categories (electricity, petroleum, natural-gas, steo, aeo, ieo, seds, etc.), then drill into subcategories. Each result includes an isLeaf flag — leaf routes are queryable endpoints; non-leaf routes have children to browse. When isLeaf is true on the browsed path itself, switch to eia_describe_route. The first call after server start waits up to 20s for the route tree to warm, then answers from EIA directly.
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": "eia_browse_routes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Route path to browse (e.g. "electricity", "petroleum/pri"). Omit for root. Whitespace and slashes are normalized, then one complete leading v2 segment is removed: "/v2/electricity/retail-sales/" resolves to "electricity/retail-sales", and "/v2/" to root. A path naming an EIA endpoint is refused: pass the route before its data or facet segment ("petroleum/pri/spt", not "petroleum/pri/spt/data" or "petroleum/pri/spt/facet/series"), and give the ID of a seriesid/{id} path to eia_search_routes. Full URLs are not normalized. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | The path that was browsed (empty string for root). | |
| error | No | Present when the call failed. Absent on success. | |
| isLeaf | No | True when the browsed path itself is a leaf route — no children to drill into; use eia_describe_route instead. | |
| children | No | Child entries under the browsed path. |