Get Danish document relationships
dklaw_get_relationsRead amendment, consolidation, legal basis, decision, Ombudsman, commencement, shared EU implementation, shared EU document reference, and publication exemption links for the document as supplied. Groups follow the order of the relation choices. Use status all to include historical subordinate rules and unclassified basis links, and next_offset to continue.
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_relations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Requested rows per page, capped at 100. | |
| offset | No | Zero-based offset in the full filtered sequence. | |
| status | No | Current or all records for subordinate rules and unclassified basis links. Other groups retain historical records. | current |
| document | Yes | Canonical ELI path or URL, accession number, dated Danish citation, or exact popular title. | |
| relation | No | Return only this relationship kind. Omit to see all relationship groups. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when the call failed. Absent on success. | |
| found | No | Whether the requested document resolved for this operation. | |
| limit | No | Applied page size. | |
| total | No | Total matching rows within the stated source coverage. | |
| offset | No | Applied offset. | |
| reason | No | Reason for the lookup miss. | |
| notices | No | Resolution notices. | |
| coverage | No | Source coverage of the resolved graph. | |
| document | No | Selected document. | |
| guidance | No | How to continue after the miss. | |
| relations | No | Page of matching relationships in source group order. | |
| candidates | No | Verified candidates, where applicable. | |
| next_offset | No | Next offset, or null at the end. | |
| resolved_from | No | Identity and consolidation provenance. | |
| applied_filters | No | Relationship and status filters applied to the full source sequence. | |
| candidate_total | No | Exact number of popular-title matches from the source. |