hent_tabell
Inspect a StatFin table's dimensions, codes, and labels to discover available filters before querying data.
Instructions
Get metadata for a StatFin table: title, dimensions (variables) and their valid value codes + labels. Use this before hent_data to learn which filter codes are available. Variable codes (e.g. 'Alue', 'Vuosi') are language-independent; pass them verbatim to hent_data.
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": {
"tabell_id": "<tabell_id>"
},
"name": "hent_tabell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language for titles/labels: 'en' (default), 'fi' or 'sv'. Table codes are language-independent. | |
| tabell_id | Yes | Table id from sok_tabell, e.g. 'vaerak/statfin_vaerak_pxt_11ra.px' |