Search
searchFind words or phrases across Mexican federal law articles as they stood on a chosen date, optionally within one law, with ranked snippets and links.
Instructions
Full-text search over the articles of every law (or one law) as they stood on a date, ranked by number of hits, with a snippet and a link to each article.
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": {
"query": "<query>"
},
"name": "search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| law | No | Restrict to one law (abbreviation or slug). | |
| date | No | Search the texts as they stood on this date (default: today). | hoy |
| limit | No | Maximum results. | |
| query | Yes | Words to find (accent and case insensitive, each word is a prefix, all must appear in the same article). Use "quotes" for phrases and -word to exclude. Example: 'subcontrat "servicios especializados"'. | |
| include_transitorios | No | Also search the transitorios of the original text and decrees. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |