Full-text search across the corpus
search_legislationRanked full-text search over provision text. Results carry work, eId, status and provenance — feed a hit's work+eId to lookup_provision for the complete payload.
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 |
|---|---|---|---|
| limit | No | Maximum hits, default 10. | |
| query | Yes | Search terms, e.g. 'zero-rating of food'. | |
| language | No | Restrict to a text language, e.g. 'eng'. | |
| jurisdiction | No | ISO country filter, e.g. 'UK', 'FR', 'EU'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||