Get Article
get_articleRetrieves the exact text of a Mexican federal law article as it stood on a chosen date, including DOF publication date, decree, and GitHub commit link.
Instructions
Exact text of one article as it stood on a date, with the DOF date and commit of the version, the decree(s) that version reflects, since when the article has this wording, and a link to the exact lines on GitHub at that commit.
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": {
"law": "<law>",
"article": "<article>"
},
"name": "get_article"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| law | Yes | Law abbreviation or slug, e.g. 'LFT', 'CPEUM', 'lgsm'. See list_laws. | |
| date | No | Date the text should reflect (YYYY-MM-DD, DD-MM-YYYY or 'hoy'). Returns the latest version published in the DOF on or before that day. | hoy |
| article | Yes | Article number as written in the law: '27', '1o', '3o. Bis', '15-A', '353-Ñ', '29-A Bis', '21 bis 1'. Extra words such as 'fracción IV' are ignored. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |