search_legislation
Find laws, acts, and statutory instruments in a selected jurisdiction by query and filters; returns result IDs for retrieving the full legislation.
Instructions
Find laws, acts and statutory instruments in one jurisdiction.
Args: jurisdiction: code from list_jurisdictions, e.g. "nl", "gb". query: (may be empty "" when filters alone select) words from the title (or full text where the source allows), in the source's language, e.g. "huurprijzen woonruimte" (nl), "Companies Act 2006" (gb). nl also accepts a BWB-id directly. limit: results per page (default 20). page: 1-based page number. filters: optional jurisdiction-specific filters as a dict, e.g. {"current_only": false} for nl or {"search_in": "text", "doc_type": "ukpga"} for gb. See list_jurisdictions.
Date, type and similar narrowing belong INSIDE filters; any other top-level argument
is rejected.
Returns a markdown list; each hit has the id to pass to the get_legislation_* tools.
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": {
"jurisdiction": "<jurisdiction>"
},
"name": "search_legislation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| limit | No | ||
| query | No | ||
| filters | No | ||
| jurisdiction | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |