Search Draft Legislation
ris_search_draftsSearch Austria’s federal lawmaking pipeline BEFORE promulgation — the monitoring counterpart to ris_search_gazette (what will become law). stage selects the phase: review_drafts (Begutachtungsentwürfe — draft laws a ministry has put into public review, before any government bill exists) or government_bills (Regierungsvorlagen — bills the council of ministers adopted and submitted to parliament, 2004+). Filter by query (full text), title, ministry (accepts an abbreviation like "BMF" — expanded to RIS’s exact designation; the historical name at submission time counts), in_review_on (review_drafts only — drafts whose review window covers the date; today = "what is in Begutachtung right now"), or decided_from/to (government_bills only — council adoption date). changed_since gives coarse recency. Each record carries materials — the companion documents filed with the draft (Erläuterungen, Textgegenüberstellung, Vorblatt/WFA, covering letter, annexes); the Erläuterungen carry the drafting reasoning the bill text omits, and passing a materials[].url to ris_get_document as document_url is the only way to read one (format there picks the rendition returned). Documents are preparatory, not binding law. Ministry codes: ris_list_reference topic ministries.
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": {
"stage": "<stage>"
},
"name": "ris_search_drafts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based result page. Default 1. | |
| query | No | Full-text search (Suchworte). Boolean operators UND/ODER/NICHT or AND/OR/NOT, parentheses, quoted phrases; wildcard * is trailing-only. Omit to leave unfiltered; a blank value is rejected. | |
| stage | Yes | Which pipeline stage to search — one per call. review_drafts (Begut, ministerial review) or government_bills (RegV, council-adopted bills). Details: ris_list_reference topic stages. | |
| title | No | Title search (Titel) — phrase field: * allowed leading or trailing with ≥2 characters beside it. Omit to leave unfiltered; a blank value is rejected. | |
| sort_by | No | Sort column: date (review deadline or adoption date per stage), ministry, or title. Default: upstream order. | |
| ministry | No | Submitting ministry (EinbringendeStelle). Accepts an abbreviation ("BMF", "BMWET") or a full designation; use the ministry’s name at the time of submission. An abbreviation missing from the table is rejected; a full designation missing from it is sent as written. Table: ris_list_reference topic ministries. Omit to leave unfiltered; a blank value is rejected. | |
| page_size | No | Documents per page, 1–100 (default 20). Served as a page of 10 (1–10) or 20 (11–100), with a notice when that differs. For more results, keep the size and raise page. | |
| decided_to | No | government_bills only. Latest adoption date (YYYY-MM-DD). | |
| decided_from | No | government_bills only. Earliest council-of-ministers adoption date (YYYY-MM-DD). | |
| in_review_on | No | review_drafts only. Drafts whose public-review window covers this date (YYYY-MM-DD). Today = drafts currently in Begutachtung. | |
| changed_since | No | Coarse recency filter — documents changed in RIS within the interval. For exact windows use ris_track_changes. | |
| sort_direction | No | Sort direction; applies with sort_by. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page number RIS served. | |
| error | No | Present when the call failed. Absent on success. | |
| notice | No | The served page size when it differs from page_size, then zero-hit guidance — the likely cause and the concrete next call. A reversed window (decided_from later than decided_to) is answered without a RIS request: 0 documents, and the swapped bounds to retry with in place of the guidance. | |
| results | No | Matching pipeline documents for the requested page. Totals and paging in enrichment. | |
| pageSize | No | Page size RIS applied. | |
| truncated | No | Present and true when more pages exist beyond this one — raise page to continue. | |
| totalCount | No | Total matching documents across all pages. |