Query StatFin table data
query_statfin_table_dataExecute a live PxWeb JSON-stat2 query against a Statistics Finland StatFin table and return decoded macroeconomic observations.
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": "query_statfin_table_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | No | StatFin topic code (default "khi"). | |
| table_id | No | StatFin PxWeb table ID ending in .px (default "11xc.px"). | |
| selections | No | Optional map of dimension code to selected value codes; omitted dimensions default to top periods or first item. | |
| top_periods | No | Number of latest time periods when time dimension is not explicitly selected (1-24, default 5). |