buscar_legislacion
Search consolidated Spanish legislation by keyword, topic, publication date, or legal rank; retrieve matching laws with title, validity status, and official BOE URL.
Instructions
Busca en la legislación consolidada (título y texto). Devuelve id, título, rango, fechas, vigencia y URL.
texto: palabras que deben aparecer (todas). materia: tema del vocabulario del BOE, p. ej. 'Arrendamientos urbanos' o 'Impuesto sobre Sociedades'. desde/hasta: fecha de publicación (AAAA-MM-DD). rango: Ley, Ley Orgánica, Real Decreto, Real Decreto-ley, Orden, Resolución… limite: 1-50. Por defecto ordena por relevancia. donde: 'auto' (título y, si no hay resultados, texto completo), 'titulo', 'texto' o 'ambos'.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "buscar_legislacion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| desde | No | ||
| donde | No | auto | |
| hasta | No | ||
| rango | No | ||
| texto | No | ||
| limite | No | ||
| materia | No | ||
| solo_vigentes | No | ||
| ordenar_por_fecha | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||