get_data
Retrieve time-series values for a selected variable across territorial units, with optional year range and unit filters. Returns raw annual data with year, unit, and label.
Instructions
Get actual data (time series) for a variable in one or more territorial units. Example: GDP per capita for all voivodeships over 2015-2024. Returns the raw values with year, unit, and unit label.
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": {
"variable_id": "<variable_id>"
},
"name": "get_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year_to | No | Optional last year to include | |
| unit_ids | No | List of unit IDs (from search_units). Default: all voivodeships. | |
| year_from | No | Optional first year to include | |
| limit_units | No | Max units to include when unit_ids is empty | |
| variable_id | Yes | Variable ID from search_variables |