list_sections
List the structure of a legislation document: Parts, subparts, section numbers and headings, and schedules. Use it to find the correct section or schedule number before retrieving the text.
Instructions
List the structure of a legislation document: Parts, subparts, section numbers and headings, and schedules. Use this before get_legislation_text to find the right section or schedule number.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_sections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| work_id | No | A work_id; the newest version will be used. Provide either version_id or work_id. | |
| version_id | No | A specific version to inspect. Provide either version_id or work_id. |