compare
Word-level comparison of a provision between two dates, both sides with their dates, consolidations, official sources and check status; a side we hold no text for says so. The ops carry plain text; each change's from_marks / to_marks give the raised/lowered wording (superscript / subscript) of the two sides as code-point offsets into the concatenated eq+del (from) and eq+ins (to) text.
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": {
"ref": "<ref>",
"from": "<from>",
"to": "<to>"
},
"name": "compare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | A date YYYY-MM-DD. | |
| ref | Yes | A page address (https://www.headlesslaw.com/… or a path such as /mica/articles/75) or a citation ("Art 75(3) MiCA", "Article 75(3) of Regulation (EU) 2023/1114", "2025/298", a CELEX number). | |
| from | Yes | A date YYYY-MM-DD. | |
| release | No | Optional release id (or its first 8+ hex characters) to pin a multi-call task to one release; releases stay available for 24 hours after they leave the live position. Outside that window the answer is release_unavailable (isError), naming the current release — never silently another release. |