Read Danish legal provisions
dklaw_get_provisionsRead Danish provisions, chapters, annexes, or a body text page. Use Danish addresses such as § 1 a, stk. 2, nr. 1, litra a. For any returned selector, send it with the result’s canonical ELI as document and version as_given. Send next_offset as offset to continue a page. Check pending amendments and their commencement clauses separately.
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": {
"document": "<document>"
},
"name": "dklaw_get_provisions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum Unicode code points in a selector page, default 12000. | |
| offset | No | Zero-based Unicode code point offset, default zero. Use a versioned selector for nonzero offsets. | |
| version | No | Follow verified consolidation links or retain the cited revision. Defaults to current. | current |
| document | Yes | ELI URL or path, accession number, dated Danish citation, or exact popular title. | |
| selector | No | Versioned selector from dklaw_get_document or dklaw_get_provisions. When addresses are omitted, a blank or omitted selector reads the first page of the body. | |
| provisions | No | Ordered Danish addresses. Reads the first ten per call. Omit selector, offset, and limit when using addresses. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when the call failed. Absent on success. | |
| found | No | Whether the document was resolved. True supplies document data, false supplies the miss reason and guidance. | |
| links | No | Canonical Retsinformation page and available source formats. | |
| reason | No | Reason for the lookup miss. | |
| notices | No | Resolution notices. | |
| results | No | Requested addresses in input order or one body or selector result. | |
| version | No | Applied version selection. | |
| document | No | Selected document. | |
| guidance | No | How to continue after the miss. | |
| has_more | No | Whether addresses remain, a text page has a next offset, or an address returned a continuation outline. | |
| candidates | No | Verified candidates, where applicable. | |
| resolved_from | No | Identity and consolidation provenance. | |
| batch_guidance | No | How to continue from this result. | |
| candidate_total | No | Exact number of popular-title matches from the source. | |
| pending_amendments | No | Later amendments absent from the selected text, with commencement to be checked separately. | |
| remaining_provisions | No | Unprocessed addresses in input order, present when the batch exceeds ten. |