Read a code article
leginova_get_code_articleRetrieves a single New Caledonian code article by slug or article number, returning its text, amendment history, code position, adjacent articles, and official URL.
Instructions
Returns one code article (text, amendment history, place in the code, previous/next articles, official URL). Give either article_slug (from search results or outlines) or article_number. article_number matching is prefix-tolerant: "L. 441-6", "Lp 441-6", "441-6" or "art. 1er" all resolve, and the result states how the match was made (match_status). "Lp." numbers articles adopted or localized by a New Caledonian loi du pays: the metropolitan "L. 441-6" is "Lp. 441-6" in the Code de commerce applicable en Nouvelle-Calédonie. The same number can also exist under several prefixes as distinct articles; the result lists them. Without code_slug, every code is searched. A not_found status is never proof that no legal basis exists: relay the notice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code_slug | No | Code to look in; omit to search all codes by article_number | |
| article_slug | No | e.g. "partie-legislative-article-lp-334-26" | |
| article_number | No | e.g. "L. 441-6", "Lp. 122-13", "R. 4211-1", "2276", "1er" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The full answer as Markdown: notices, article text, history, neighbours | |
| notice | No | ||
| article | No | ||
| requested | Yes | ||
| candidates | Yes | ||
| match_status | Yes |