Brlaw Get Changes
brlaw_get_changesTrace acts affecting a federal norm or a selected provision, or earlier norms it changed. Group by act or provision, filter by dates, STF ruling class or Senado action, and continue with next_offset.
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": {
"norm": "<norm>"
},
"name": "brlaw_get_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| norm | Yes | Senado ID, exact LexML URN, Portuguese citation, or nickname such as LGPD. For changed_by, optionally append a single provision such as Art. 55. | |
| view | No | by_act groups by related act. by_article groups by affected norm and provision. | by_act |
| limit | No | Requested page size. Defaults to 25 and clamps to 200. | |
| offset | No | Zero-based offset. Pass next_offset to continue. | |
| actions | No | Portuguese item action labels from brlaw_list_reference, such as Revogação. Exact spelling wins, otherwise case and accents are ignored for unique matches. | |
| date_to | No | Inclusive latest signature date in YYYY-MM-DD form. | |
| date_from | No | Inclusive earliest signature date in YYYY-MM-DD form. | |
| direction | No | changed_by for later acts affecting this norm, changes for earlier affected norms, or both. | changed_by |
| page_token | No | Optional token from the previous page to verify that its result set is unchanged. | |
| act_classes | No | Classes of related acts to include. Add unclassified to include acts without enough classification evidence. other covers known classes outside the listed categories. | |
| relation_kinds | No | Portuguese relation labels from brlaw_list_reference. Exact spelling wins, otherwise case and accents are ignored for unique matches. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | No | Paged relations grouped by act or provision. | |
| error | No | Present when the call failed. Absent on success. | |
| found | No | Whether the selector resolved to one federal norm. | |
| lexml | No | Exact-URN LexML metadata or an availability result. | |
| limit | No | Effective maximum number of rows on this page. | |
| total | No | Total matching rows before paging. | |
| offset | No | Zero-based offset of this page. | |
| parsed | No | Components recognized in the supplied selector. | |
| reason | No | Reason for an unresolved selector or unavailable result. | |
| filters | No | Effective direction, view and selection filters. | |
| norm_id | No | Senado ID of the selected norm. | |
| notices | No | Page-size adjustments, source constraints or search guidance. | |
| guidance | No | How to refine or retry the lookup. | |
| provision | No | Canonical provision selected for incoming history. | |
| truncated | No | Whether matching rows remain after this page. | |
| candidates | No | Possible matches when the selector is ambiguous. | |
| page_token | No | Result-set token for the next request. | |
| next_offset | No | Offset for the next page when more rows exist. | |
| metadata_only | No | True for records outside the federal legislation base. | |
| unclassified_count | No | Number of distinct related act IDs without enough classification evidence, after other filters and before the class filter. | |
| filter_may_exclude_unclassified | No | Whether the requested class filter omits candidate acts whose actual class is unknown. |