Boe Search Law
boe_search_lawSearch Spain's consolidated legislation (Legislación Consolidada) by words in the title, e.g. "Código Civil", "ley de propiedad horizontal". Returns matching laws/decrees with their BOE id, rank (ley/real decreto/...), issuing department, dates, and the official BOE page URL for each. Source: Agencia Estatal Boletín Oficial del Estado (BOE), Legislación Consolidada open-data API. Pass the returned id to boe_law for the full record or one article's text.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"limit": 5,
"query": "Código Civil"
},
"name": "boe_search_law"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results, 1-50 (default 20). | |
| query | Yes | Words to match in the title, e.g. "Código Civil". | |
| ambito | No | Optional: "estatal" (national) or "autonomico" (regional) to restrict scope. | |
| offset | No | Pagination offset (default 0), the upstream does not report a total match count. |