Brlaw Get Text
brlaw_get_textRead consolidated or as-published federal legislation, including available translations. Select an exact publication ID from brlaw_get_norm. Text over 24,000 characters returns an outline: pass its section IDs back with the same edition, or select provisions by address. Inspect the served publication and dated amendment evidence.
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_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| norm | Yes | Senado ID, exact LexML URN, Portuguese citation, or nickname such as LGPD. | |
| version | No | Text version. Defaults to consolidated. Omit when selecting a publication ID. | |
| articles | No | Article or provision addresses in request order. The first 10 are processed. | |
| language | No | Text language. Defaults to Portuguese or the language of the explicit publication. | |
| sections | No | Section IDs from the outline for the same source version. Omit when selecting provisions. | |
| publication_id | No | Exact publication ID returned by brlaw_get_norm for this norm. | |
| include_superseded | No | Show struck Planalto text as historical markup. Defaults to false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL of the actual text read. | |
| kind | No | Whole text, outline, selected provisions or sections, or an unavailable edition. | |
| 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. | |
| parsed | No | Components recognized in the supplied selector. | |
| reason | No | Reason for an unresolved selector or unavailable result. | |
| source | No | Publisher and kind of selected text. | |
| norm_id | No | Resolved Senado ID. | |
| notices | No | Source, translation, and republication notices. | |
| guidance | No | How to refine or retry the lookup. | |
| markdown | No | Complete reformatted official text for a whole-document response. | |
| sections | No | Available section IDs, headings, article ranges and sizes. | |
| provision | No | Provision parsed from the citation. | |
| candidates | No | Possible matches when the selector is ambiguous. | |
| selections | No | Per-address or section result, text, and supporting evidence. | |
| observed_at | No | Time this text was retrieved. | |
| source_date | No | Date of the source used for comparison. | |
| alternatives | No | Other official publications recorded by the Senado. | |
| metadata_only | No | True for records outside the federal legislation base. | |
| publication_id | No | Senado publication record identifier. | |
| served_version | No | Actual text version, including any fallback. | |
| served_language | No | Language of the official text. | |
| acts_after_source | No | Later recorded wording changes, or the reason comparison is unavailable. | |
| requested_version | No | Requested text version. publication means an explicitly selected publication ID. | |
| source_date_basis | No | Publisher metadata supporting source_date. | |
| remaining_articles | No | Unprocessed article selectors for another call. | |
| requested_language | No | Requested language, including the default. |