Search Legislation
search_legislationSearches Spain’s national legislation via official BOE sources, including statutes, acts, codes, regulations, and the official gazette; filter by keywords, title/number, year, or result limit.
Instructions
Search Spain (ES) national legislation (statutes, acts, codes, regulations, official gazette) via BOE Datos Abiertos REST API (boe.es/datosabiertos) and live national legal archives.
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_legislation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Optional enactment year filter. | |
| limit | No | Maximum number of results to return. | |
| query | Yes | Keywords or statute title/number to search in Spain legislation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||