Search UK Legislation
legislation_searchSearch UK Acts and Statutory Instruments by title or phrase. Returns ranked results with links and next steps for detailed navigation.
Instructions
USE THIS TOOL WHEN searching UK Acts and Statutory Instruments by title, phrase, or full-text.
Returns ranked results: title, type, year, number, legislation.gov.uk URL, and next_steps hints (toc URI, section template). AFTER calling, chain to legislation_get_toc then legislation_get_section for structural drill-in.
Filter discipline: type and year are exact-match. Use only when you
already know the value. For currency-driven searches ("the recent
Renters' Rights Act"), query by phrase alone and read the year from the
results — guessing a year and filtering by it zeroes results when wrong.
For broader concept queries across content, set fulltext=True.
Authoritative source for UK primary and secondary legislation (legislation.gov.uk).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes | LegislationSearchInput. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | Matching legislation items | |
| total | Yes | Total number of matches |