Get Danish legal document
dklaw_get_documentRead Retsinformation metadata, source links, pending amendments, and section selectors. Request outline provisions for a page of exact provision selectors. Use the returned canonical ELI as document and version as_given to continue paging or read text with dklaw_get_provisions. Choose current to follow verified consolidation links and include bill_history to retrieve parliamentary steps when available.
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_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Provision rows per page, default 25 and capped at 100. | |
| offset | No | Zero-based provision row offset, default zero. | |
| include | No | Include website parliamentary history and the historical cause if reported. | |
| outline | No | Show section selectors by default, or page exact provision selectors. Provision mode includes sections only on the unscoped first page. | sections |
| version | No | Keep the cited revision or follow verified consolidation links to the current consolidation. Defaults to as_given. | as_given |
| document | Yes | ELI URL or path, accession number, dated Danish citation, or exact popular title. | |
| section_selector | No | In provision mode, limit results to descendants of this revision’s section selector. |
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. | |
| limit | No | Applied provision page size. | |
| links | No | Canonical Retsinformation page and available source formats. | |
| total | No | Total provisions in the selected scope. | |
| offset | No | Applied provision row offset. | |
| reason | No | Reason for the lookup miss. | |
| notices | No | Resolution notices. | |
| outline | No | Source text structure or coverage guidance. | |
| version | No | Applied version selection. | |
| document | No | Selected document. | |
| guidance | No | How to continue after the miss. | |
| metadata | No | Additional verified Retsinformation metadata. | |
| candidates | No | Verified candidates, where applicable. | |
| next_offset | No | Next provision row offset, or null at the end. | |
| bill_history | No | Website parliamentary history, when requested. | |
| resolved_from | No | Identity and consolidation provenance. | |
| candidate_total | No | Exact number of popular-title matches from the source. | |
| relation_counts | No | Counts of relations present in the source graph. | |
| historical_cause | No | Reason the website marked the record historical. | |
| pending_amendments | No | Later amendments absent from the selected text, with commencement to be checked separately. | |
| parliamentary_metadata | No | Available LexDania parliamentary metadata. |