get_law_article
Article of a French code or statute, as in force on a date (default: today). code: abbreviation ("CT", "cc"), name ("code du travail"), LEGITEXT or statute ("loi 91-647", "loi du 1er juillet 1901"); list: about(topic="codes"). European texts: "CEDH" (protocols: num="P1-1"), "CHARTE_UE", "TUE", "TFUE"; treaties: "CIDE", "GENEVE1951", "HAYE1980"… (with French status); EU acts: "RGPD", "directive 93/13", "UE-" (repealed: flagged). To cite an older decision, pass its date: the article is served as it stood then. view="versions": its history; view="map": wordings, citing texts, implementing orders. etat/note flag a lag behind Légifrance; info_numero, a renumbering. num also accepts a LEGIARTI (code may then be omitted). Without num, a LEGITEXT (outside codes), a European text or a treaty gives the whole text, 120 articles per page (suite: offset=…).
Examples: get_law_article(code="CIDE", num="3"); get_law_article(code="code civil", num="1382", date="2015-06-01")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| num | No | article number ("1128", "L1152-1") or "LEGIARTI…"; empty with code="LEGITEXT…" (outside codes) or "CEDH"…: whole text, 120/page. | |
| code | No | abbreviation, code name ("code du travail"), LEGITEXT or statute ("loi 91-647", "loi du 1er juillet 1901"); list: about(topic="codes"); also "CEDH" (protocols: num="P1-1"), "CHARTE_UE", "TUE", "TFUE"; EU secondary law in force: "UE-<CELEX>", "RGPD", "DSA", "directive 93/13". | |
| date | No | ISO date YYYY-MM-DD (optional; if absent, the version in force). With the date of a decision, the article is served as it stood on that date. | |
| view | No | text (default: the article) | versions (its successive wordings) | map (texts that created, amended, cite or implement it). | text |
| offset | No | whole text: value of `suite` (120, 240…). | |
| fallback_current | No | date before the first version: false = error `not_in_force_at_date` (`premiere_version`, `ancien_numero`); true = current text flagged `hors_date`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||