intelligente_rechtssuche
Search German federal legislation and case law with intelligent query translation and legal term correction. Access official statutes, amendments, and court decisions from authoritative government sources.
Instructions
🧠 PRIMARY TOOL ⭐ ALWAYS USE THIS FIRST for ANY German legal question ⭐
What this tool searches: • Full-text search across rechtsinformationen.bund.de • Both legislation (Gesetze) AND case law (Rechtsprechung) • Intelligent query enhancement with misconception correction
⚠️ DATABASE COVERAGE LIMITATIONS: • Grundgesetz (GG): NOT in database - only laws referencing GG are available • SGB I-VIII: NOT in database - SGB IX-XIV available, earlier books missing • Historic laws: Limited coverage, focus on current legislation post-2000 • Amendments: Newer amendment laws well-covered, older may be missing • If a law is not found, it may not be in the testphase database yet
Intelligent Features (Automatic): ✓ English → German translation (e.g., "employee rights" → "Arbeitnehmerrechte") ✓ Misconception correction (e.g., "Überprüfungsantrag" → "Widerspruch") ✓ Legal reference extraction (e.g., detects "§ 15 BEEG" patterns) ✓ Multiple search term execution in parallel ✓ Result prioritization and deduplication
Data Model Understanding (CRITICAL for answering questions): Results follow FRBR model with three levels:
Work (Abstract): The law as intellectual creation
Expression (Version): Specific publication with metadata
Manifestation (Format): HTML links for reading, JSON-LD for metadata
Metadata Available in Search Results: • Immediately available (no follow-up needed):
legislationDate - When the law was passed/enacted
datePublished - When published in Federal Law Gazette (BGBl)
name - Full law title
abbreviation - Official abbreviation (BGB, StGB, etc.)
• Requires follow-up call (use gesetz_per_eli_abrufen):
temporalCoverage - Date range when law is/was in force
inForce - Current validity status (boolean)
Full text content and structure
Results contain: • HTML links (Manifestation): [Law Name] for users to read • Basic metadata (Expression): Legislation date, published date immediately visible • Detailed metadata: Use gesetz_per_eli_abrufen for inForce status and temporal coverage
Example Use Cases: • "When was BGB enacted?" → Check legislationDate in results (immediate) • "When was BGB published?" → Check datePublished in results (immediate) • "Is SGB IX still valid?" → Use gesetz_per_eli_abrufen for inForce status (follow-up) • "Show me § 242 StGB" → Use HTML link for law text (immediate)
What this tool does NOT do: ✗ Does NOT perform true semantic search with ML embeddings ✗ Does NOT generate semantically similar terms (YOU must provide variations) ✗ Does NOT try multiple query phrasings (YOU must search with different terms) ✗ Does NOT explore related concepts automatically (YOU need multiple searches) ✗ Uses keyword matching + Fuse.js fuzzy search (not neural embeddings)
AI Agent Responsibilities: As the calling agent, YOU must:
Provide multiple query variations (synonyms, related terms, different phrasings)
Search for law abbreviations separately (BEEG, BGB, SGB, etc.)
Try specific § references when mentioned (§ 44 SGB X)
Search for amendment laws with different patterns
Use specialized tools (deutsche_gesetze_suchen, rechtsprechung_suchen) for follow-up
Search Strategies for Common Questions:
Amendment questions: • "X Änderungsgesetz 2021" • "Gesetz zur Änderung X 2021" • "BGBl 2021 X" (Federal Law Gazette) • Search both enactment year AND effective year
Law interpretation: • Search law name + specific § reference • Try both formal name and abbreviation • Search for related commentary or court decisions
Case law: • Search topic + "BGH" or court name • Try legal concepts + "Rechtsprechung" • Search ECLI or case file numbers if known
Parameters: • query: Your search query in German or English (required) • threshold: Fuzzy match threshold 0.0-1.0 (default: 0.3, lower = more results) • limit: Max results (default: 5, API max: 100)
Usage Pattern:
Start here for ALL legal questions
Analyze results for relevant documents
Use specialized tools for follow-up (deutsche_gesetze_suchen, rechtsprechung_suchen)
Use dokument_details_abrufen for full text of specific documents
Try query variations yourself if results insufficient
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query in German or English. Can include legal references (§ 15 BEEG), concepts (Elternzeit), or questions. Agent should try multiple variations for comprehensive search. | |
| threshold | No | Fuzzy match threshold (0.0 to 1.0, default: 0.3). Lower = more lenient matching, higher = stricter matching. | |
| limit | No | Maximum number of results to return (default: 5, API max: 100) |