fi_get_text
Retrieve the full Akoma Ntoso text of a Finnish statute by entering its year and number. Get the official legal document from Finlex open-data API for direct use.
Instructions
Fetch the full Akoma Ntoso text of a statute by year and number.
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": {
"year": "<year>",
"number": "<number>"
},
"name": "fi_get_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | e.g. ``2018``. | |
| number | Yes | e.g. ``1050``. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| format | No | akoma-ntoso-xml | |
| number | Yes | ||
| content | No | ||
| eli_uri | No | ||
| byte_size | No | ||
| source_url | No | ||
| dataset_note | No | Finlex serves Finnish consolidated statutes as Akoma Ntoso. Discover by year (fi_list_acts) or fetch by year+number. This MVP covers statutes (saadokset); case law is not yet covered. Finland is bilingual - titles may be Finnish or Swedish. | |
| human_readable_citation | No |