get_legislation_structure
Get the index and block structure of a Spanish law (BOE) to discover article, disposition, and annex IDs for precise content retrieval.
Instructions
Get the structure/index of a law showing all its blocks (articles, dispositions, annexes). Use this to discover block IDs before fetching specific blocks.
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": {
"legislation_id": "<legislation_id>"
},
"name": "get_legislation_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| legislation_id | Yes | Legislation ID from BOE (e.g., BOE-A-2015-10566) |