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.
Pricing
- Price
- $0.06/call
How to call
Call
legislation-via-parse · GET /scraper/47dc5438-5519-4ae0-bec1-bb2697e07c18/get_legislation_contentsAgent 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 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.