Fi Law Get
fi_law_getFetch one Finnish act or decree (consolidated text) by id from fi_law_search, in the Finnish citation form "number/year" such as "1050/2018" (Data Protection Act); "2018/1050" is accepted too. Returns title, type, in-force status and entry-into-force date, the amending acts, citation and the text. Pass section (e.g. "6", "36 a" for 36 a section , or "6:1" for chapter 6 section 1 in acts that number sections per chapter) for one section only; without it the text is capped at max_chars with a contents list. Text is in Finnish (or Swedish with lang="swe") exactly as Finlex publishes it.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "1050/2018",
"section": "6"
},
"name": "fi_law_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Act id as "number/year", e.g. "1050/2018" | |
| lang | No | fin (default) or swe | |
| section | No | Section number, e.g. "6" or "36 a"; in acts that restart numbering per chapter use chapter:section, e.g. "6:1" | |
| max_chars | No | Cap on returned text when no section is given (default 20000, max 100000) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| url | No | ||
| hint | No | ||
| lang | No | ||
| note | No | ||
| text | No | ||
| type | No | ||
| found | No | ||
| title | No | ||
| source | No | ||
| status | No | ||
| repeals | No | ||
| section | No | ||
| version | No | ||
| contents | No | ||
| truncated | No | ||
| amendments | No | ||
| data_as_of | No | ||
| valid_from | No | ||
| total_chars | No | ||
| valid_until | No | ||
| empty_reason | No | ||
| section_count | No | ||
| section_title | No | ||
| text_produced | No |