Search Brazilian Bills
brparl_search_billsFind bills in Câmara dos Deputados and Senado Federal by type, number, identifier year, Portuguese keywords, author, or presentation dates. Use author_state for Câmara and in_progress for Senado. Set year to search older records. Call brparl_get_bill with an identifier or chamber and ID for status and history.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "brparl_search_bills"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Bill type abbreviation such as PL, PEC, or PLP. | |
| year | No | Four-digit year in the bill identifier. | |
| limit | No | Results per page. Defaults to 25 and caps at 100. | |
| author | No | Bill author name. | |
| number | No | Positive bill number such as 2338 or 2.338, with an optional Senado reissue sequence such as 2163-41. | |
| offset | No | Zero-based result offset. | |
| chamber | No | Select Câmara, Senado, or both chambers. | both |
| subject | No | Subject code from brparl_list_reference with topic=subjects. Select the code’s chamber. Published classification coverage varies by period. | |
| end_date | No | Inclusive presentation end day in YYYY-MM-DD. Pass start_date too. | |
| keywords | No | Portuguese keywords describing the bill. | |
| author_id | No | Member ID from brparl_search_members. Select that member’s chamber. | |
| norm_year | No | Four-digit year of the law generated by a Senado process. | |
| start_date | No | Inclusive presentation start day in YYYY-MM-DD. Pass end_date too. | |
| in_progress | No | Filter Senado processes by whether they remain in progress. | |
| norm_number | No | Senado generated law number as a string, such as 14133 or 14.133. | |
| author_state | No | Câmara author state abbreviation, such as SP. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when the call failed. Absent on success. | |
| items | No | Records in the requested result page. | |
| limit | No | Applied page size. | |
| total | No | Combined matching record count, or null when unknown. | |
| notice | No | Applied limit, partial availability, or follow-up guidance. | |
| offset | No | Zero-based offset applied to the page. | |
| sources | No | Official sources credited for this result. | |
| coverage | No | Counts and availability by chamber. | |
| attribution | No | Public bodies credited for the source records. | |
| next_offset | No | Next combined offset, or null when unavailable or exhausted. | |
| continuation | No | Chamber-specific continuation when a combined offset is unavailable. | |
| offset_basis | No | Chamber whose offsets apply when global alignment is unavailable. |