List chapters or titles
list_titlesList chapters or titles in order for NYC Charter, Administrative Code, and Rules, returning headings and section ranges so you can browse or page through a document's structure.
Instructions
List a document's chapters in order, each with its heading. Administrative Code chapters show their section range, since several share a number: 'Chapter 1 (§ 3-101 to § 3-196)'. Rules chapters are listed by title, each title named before its chapters: 'Title 15, Chapter 18'; a chapter with no number, such as the Health Code, by its name: 'Title 24, New York City Health Code'.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"corpus": "<corpus>"
},
"name": "list_titles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max titles to return (default 200, max 1000) | |
| corpus | Yes | Which document to list | |
| offset | No | How many to skip, to get the next page (default 0) |