Get cited bylaw section text
getBylawSectionReturn the stored bylaw section text behind a snapshot citation. Pass sectionIds copied from citations.*.knowledgeSectionId on checkSite. Or pass geoDivisionId from coverage.geoDivisionId, zoneCode from zone.code, and sectionNumbers such as 3.1 or 3.2. Examples: {"sectionIds":[""]} or {"geoDivisionId":"<coverage.geoDivisionId>","zoneCode":"RM-4","sectionNumbers":["3.1"]}. sectionIds and sectionNumbers are arrays; do not pass address, city, sectionId or sectionNumber. The markdown is the schedule text. A number in the snapshot can still be conditional on frontage, tenure, or adjoining district. Each section returns at most 12,000 characters. A cut section has truncated: true, totalChars and nextOffset: call again with that section id and textOffset: nextOffset for the rest. Ids or section numbers with no active chunk come back in missing.
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": {
"context": "<context>"
},
"name": "getBylawSection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | Yes | A few words on why you are calling this tool, for the server developer's analytics. Describe people and things by role, such as "a customer". Do not quote the user or include names, emails, or other personal details. | |
| zoneCode | No | zone.code from checkSite, for example C-2. | |
| sectionIds | No | Copy citations.*.knowledgeSectionId from checkSite. 1 to 4 ids. | |
| textOffset | No | Character to start each section at. Default 0. Copy nextOffset from a truncated section to read the rest. | |
| geoDivisionId | No | coverage.geoDivisionId from checkSite. | |
| sectionNumbers | No | Section numbers to read, for example 3.1 or 3.2. 1 to 4 numbers. | |
| conversation_id | No | The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics. |