Adjacent Sections
get_section_neighborsRetrieve the sections immediately before and after a legal provision in statutory order to read it in context, locate sibling definitions or penalties, and check whether operative language continues.
Instructions
The sections immediately before and after a given section within its own chapter or code, in statutory order. Use to read a provision in context, to find a definitions or penalties sibling, or to check whether the operative language continues into the next section.
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": {
"act_id": "<act_id>"
},
"name": "get_section_neighbors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many sections to return on EACH side. | |
| act_id | Yes | Section identifier, e.g. `USC_T42_C21_S1983` (Title 42, Chapter 21, Section 1983, written 42 U.S.C. 1983). Take it from a search result rather than assembling it: the title and section are derivable from a citation but the CHAPTER is not, so hand-built ids usually 404. | |
| Idempotency-Key | No | Optional, 16 to 255 visible ASCII characters (a UUIDv4 is ideal). A retry with the same key and request replays the original 2xx for 24 hours without charging again; the same key with a different request is rejected. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||