get_series_data

tools.get_series_data(ctx, input)

Retrieve timeseries data for a specific location-parameter combination.

Automatically applies thinning for large datasets (>500 estimated points) to ensure manageable data retrieval for AI assistants.

Parameters

Name Type Description Default
ctx RunContext[Deps] Runtime context with webservice URL required
input GetSeriesDataInput GetSeriesDataInput containing location_id, parameter_id, and time range required

Returns

Name Type Description
GetSeriesDataOutput GetSeriesDataOutput containing optimized timeseries values (only changing data)
GetSeriesDataOutput and metadata (static information). AI assistants can generate CSV format if needed.