rii_search
Search German federal and state court decisions by keyword or file number across multiple official portals, returning metadata and document IDs for retrieval.
Instructions
Search for court decisions. Default source "bund": federal courts (BVerfG, BGH, BVerwG, BFH, BAG, BSG, BPatG). Source "BY": Bavarian state courts. Sources "NW", "NI" and "BB" use the official NRW, NI-VORIS and Brandenburg decision databases. Sources BW, BE, HH, MV, RP, SL, ST, SH, TH, HE use the official jPortal state decision portals. Returns list of decisions with metadata and doc IDs for retrieval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | 1-based page. Each portal is asked for its own page N, so paging a consolidated search goes deeper into every portal at once. BUND, HB and SN cannot page — the summary names any portal that could not reach the requested page rather than silently repeating page 1. | |
| limit | Yes | Maximum number of results (default: 10). With source "ALL" the slots are shared across the portals that matched, so no single portal can fill the page on its own. | |
| query | Yes | Search query. For file numbers (Aktenzeichen): use ONLY the file number without keywords (e.g., "I ZR 115/16"). For topics: keywords (e.g., "Metall auf Metall", "BGB § 823"). | |
| format | Yes | Output format. "compact" (default) is tab-delimited and by far the most token-efficient; it carries exactly the same fields as "compact-json", so switching gains no information. Choose "compact-json" only to hand rows straight to a program. | compact |
| source | Yes | Decision source: BUND, BY, NW, a jPortal state code, or ALL for a consolidated cross-portal search. Note that BUND covers only the federal courts — state Arbeits-, Verwaltungs- and Oberlandesgerichte live in the state sources, so "ALL" is the right choice for a topic survey. | BUND |
| include_snippets | Yes | Include the matched-text excerpt per result. Off by default: the metadata columns are normally enough to pick which decision to retrieve, and snippets dominate the response size. | |
| collapse_duplicates | Yes | Fold runs of near-identical decisions from one court — mass litigation such as the BGH Diesel series — into their newest member. What was folded is always named in the summary, with the file numbers, so nothing is hidden. Set false to list every decision separately. |