Legislation: Get Legislation Contents

Get the table of contents for a specific piece of UK legislation. Returns the legislation title, description, and a flat list of content items (parts, chapters, sections, schedules) with their hierarchical depth. Use legislation_id values from search_legislation results (extract the path portion after legislation.gov.uk, e.g. 'ukpga/2018/12'). 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.06/call

How to call

Call

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

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_contents"}. Ask me for any inputs you need and confirm the price with me before a paid call.

Example prompts

  • {"legislation_id":"ukpga/2018/12"}

Inputs

legislation_idqueryRequired

Legislation identifier path, e.g. 'ukpga/2018/12' for the Data Protection Act 2018. Composed of type/year/number from search results.

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