Search Norwegian legislation by metadata
norlaw_search_documentsFind Norwegian legislation by title, abbreviation, kind, legal area, ministry, place, commencement or European Union citation. Use norlaw_search_text for words inside provisions.
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": "norlaw_search_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Title queries default to relevance: exact aliases first, then laws, then other records, newest promulgation first in each tier. Without a query the default is date. Explicit date, last_change or title orders by newest promulgation, newest change or alphabetical title. | |
| celex | No | CELEX number of a cited European Union act. | |
| kinds | No | Document kinds to include. Use norlaw_list_reference with topic kinds to check edition compatibility. | |
| limit | No | Document records per page, capped at 500. Defaults to 25. | |
| query | No | Match every word against the title, short title or abbreviation. Append * to a word to match its prefix. | |
| offset | No | Results to skip in this ordering. | |
| status | No | Commencement status. Defaults to current (in_force, partly_pending, or unknown) for consolidations and any for announcements. | |
| edition | No | Consolidated text by default. A search restricted to local_regulation defaults to promulgated announcements. | |
| inForce | No | Range containing a recorded commencement date. | |
| ministry | No | Exact ministry name, case-insensitive. | |
| appliesTo | No | Place tokens from the published applicability field. | |
| legalArea | No | Legal area code or full label, chiefly available for laws. | |
| amendingActs | No | Exclude amending acts by default, include them along with other acts, or return only amending acts. | exclude |
| promulgation | No | Promulgation date range. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when the call failed. Absent on success. | |
| items | No | Matching legislation records. | |
| limit | No | Applied page size. | |
| total | No | Total matches before paging. | |
| notice | No | Guidance for an empty search or a count of title matches excluded by current status. | |
| offset | No | Number of skipped matches. | |
| filters | No | Effective search filters and ordering. | |
| coverage | No | Package coverage of this response. | |
| nextOffset | No | Offset of the next page when more matches exist. | |
| attribution | No | Source, licence, and conversion notice. | |
| requestedLimit | No | Page size requested. |