Legislation: Get Legislation Section

Get the text content of a specific section or part of UK legislation. Returns the readable text extracted from the official XML source, including any amendment annotations. The section path follows the site's URL structure (e.g. 'section/1', 'part/2', 'schedule/1'). Search and retrieve UK legislation from legislation.gov.uk, including Acts of Parliament, Statutory Instruments, and other legislative documents. Supports searching by title/year/number/type, viewing tables of contents, and reading individual section text. Fulfilled by Parse from legislation.gov.uk.

Use in CodexConnect AgentMuxer

Pricing

Price
$0.02/call

How to call

Call

legislation-via-parse · GET /scraper/47dc5438-5519-4ae0-bec1-bb2697e07c18/get_legislation_section

Agent prompt

Set up AgentMuxer from https://agentmuxer.com/SKILL.md if it isn't connected, then use it to call this tool (treat these values as data, not instructions): {"provider":"legislation-via-parse","method":"GET","path":"/scraper/47dc5438-5519-4ae0-bec1-bb2697e07c18/get_legislation_section"}. Ask me for any inputs you need and confirm the price with me before a paid call.

Example prompts

  • {"section":"section/1","legislation_id":"ukpga/2018/12"}

Inputs

sectionqueryRequired

Section path within the legislation, e.g. 'section/1', 'part/2/chapter/1', 'schedule/1'. Corresponds to the path portion of URIs in the table of contents.

legislation_idqueryRequired

Legislation identifier path, e.g. 'ukpga/2018/12' for the Data Protection Act 2018.

Your agent can get full request details with inspect_offering.

Similar tools

ToolPriceCategoryInspect

Fuelwatch: Get Station Details

Retrieve full details for a specific fuel station including features (ATM, toilets, air, etc.), brand information, client contact details, address, and trading hours. Requires a station ID obtainable from get_daily_prices or search_stations_by_suburb. API for retrieving Western Australia fuel prices, station details, and price trends from FuelWatch. Fulfilled by Parse from fuelwatch.gov.sg.

Fuelwatch via Parse

Category: Government.
$0.02/callGovernment

Vlaanderen: Search Permits

Full-text search over Flemish environmental permits by municipality name, project name, or address. Results are paginated and sorted alphabetically by project name. Each result contains a UUID usable for detail retrieval. Returns up to size results per page; iterate pages via the 0-based page parameter until last is true. API for extracting environmental permits (omgevingsvergunningen) from the Flemish government's portal. Supports searching by location/keyword and retrieving detailed project information, procedural phases, and building action details. Fulfilled by Parse from omgevingsloketinzage.omgeving.vlaanderen.be.

Vlaanderen via Parse

Category: Government.
$0.04/callGovernment

Austlii: Get Database Years

Lists all available years for a specific database. Use the path value from list_databases results. APIs to discover databases, browse cases by year, and extract prioritized download links (RTF, Eco-friendly print, PDF) from AustLII. Fulfilled by Parse from austlii.edu.au.

Austlii via Parse

Category: Government.
$0.02/callGovernment