get_relations
The relations of a provision on a date: Level 2 acts that implement it, Level 3 documents that explain it, provisions that cite it, defined terms it uses, amending acts and corrigenda — each with its basis, method and evidence (public keys only: the legal basis as the document states it, the consolidation, the corrigendum and its URL, the source object). Inverse edges are computed; targets are resolved on as_of. A relation starts on the date its source text exists (for a Q&A answer, the register's date of the answer); a source without a stated date has src_from null.
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>"
},
"name": "get_relations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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). | |
| type | No | One of implements, answers, guides, refers_to, uses_term, amended_by, corrected_by, related_annex. | |
| as_of | No | 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. | |
| direction | No | in or out. |