Track Danish legislation changes
dklaw_track_changesList Danish publications or changes in an inclusive date window. Filter publications by ministry, classification, or document type. Changed documents come from the Atom feed, which records only the latest change per document. Use the returned coverage to interpret incomplete windows 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": {
"from": "<from>",
"to": "<to>"
},
"name": "dklaw_track_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Last Copenhagen date, inclusive and no later than today. | |
| from | Yes | First Copenhagen date, inclusive (YYYY-MM-DD). | |
| kind | No | Use published for new publications, changed for the latest event retained per document. | published |
| limit | No | Requested rows per page, clamped to 100. | |
| medium | No | ELI publication medium from topic media in dklaw_list_reference. Blank or omitted means all media. | |
| offset | No | Zero-based offset within the filtered window. | |
| reasons | No | Filter changed documents. Default includes content changes and removals. | |
| ministry | No | Filter publications by one ministry or authority from dklaw_list_reference with topic ministries. | |
| classification | No | Filter publications by category. Intersects with document_types. | |
| document_types | No | Filter publications by document type. See dklaw_list_reference. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when the call failed. Absent on success. | |
| items | No | Matching rows, newest first. | |
| limit | No | Applied page size. | |
| total | No | Total matches in the covered source data. | |
| offset | No | Applied offset. | |
| notices | No | Paging, filter and recovery guidance. | |
| coverage | No | Coverage of these dates, independent of the exact total over matching source rows. | |
| next_offset | No | Offset of the next matching row, or null at the end. | |
| applied_filters | No | Effective date, mode and filters. |