get_series_headers
tools.get_series_headers(ctx, input)Discover available time series data by finding valid parameter-location combinations.
This tool queries the pre-ingested series headers cache to find available combinations. All series headers are now ingested during server initialization for optimal performance.
Examples: - “What parameters are available at location X?” -> use location_id=“X” - “Which locations have parameter Y?” -> use parameter_id=“Y”
Use the returned available_ids to make targeted follow-up queries for specific data.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| ctx | RunContext[Deps] | RunContext with database connection | required |
| input | GetSeriesHeadersInput | GetSeriesHeadersInput containing parameter_id OR location_id | required |
Returns
| Name | Type | Description |
|---|---|---|
| GetSeriesHeadersOutput | GetSeriesHeadersOutput with discovered series combinations and follow-up options |