Get Surrounding Provisions
legal_get_contextGet adjacent norms (paragraphs/articles) before and after a target provision in document order. Serves questions that span consecutive provisions or need the surrounding context of a norm's scope.
Requires a norm_id from a legal_search or legal_lookup result. Returns the target norm plus up to 10 neighbors in each direction. legal_get_toc gives the law-wide overview.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Number of norms after the target (max 10). | |
| before | No | Number of norms before the target (max 10). | |
| norm_id | Yes | norm_id from a prior legal_search or legal_lookup result. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||