find_related_laws
Locate modifications, repeals, and references for any Spanish legislation. Input a BOE ID to uncover related laws.
Instructions
Find laws related to a given legislation (modifications, repeals, references). Use this to understand what a law modifies, what modifies it, and related legislation.
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": "find_related_laws"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relation_type | No | Filter by relation type: 'modifies', 'modified_by', 'repeals', 'repealed_by', 'references', 'referenced_by'. If not specified, returns all relations. | |
| legislation_id | Yes | Legislation ID from BOE (e.g., BOE-A-2015-10566) |