gb_recent_legislation
Find UK legislation published since a specific date, sorted newest first. Filter by document type to narrow results.
Instructions
UK legislation published since since_iso (ISO 8601 date), newest-first.
Maps to the Atom search feed sorted/filtered by publication year, optionally scoped
to one doc_type. legislation.gov.uk's public search feed does not support a
generic dateFrom filter across all types, so this tool filters the requested
year's feed by the published date client-side.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | max items to return (1..100). | |
| doc_type | No | restrict to one UK document-type code (e.g. ``"ukpga"``, ``"uksi"``). | |
| since_iso | Yes | a date in ISO 8601 (e.g. ``"2026-01-01"``). Only the year is used to select the feed to scan; items are then filtered to on/after this date. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |