UK Legislation: Search legislation
uk-legislation__searchFind Acts and instruments by title words or full text, optionally by type and year. Free within the daily allowance, then $0.002 USDC per call via x402.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "uk-legislation__search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Results page (20 per page) | |
| text | No | Words anywhere in the text | |
| type | No | Type code (see types) | |
| year | No | Year | |
| title | No | Words in the title |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||