get_law_section

shallow

io.openlegaldata/de · Verify this server

Get the full text of a specific law section. Retrieve law text by book code and section number, or by law ID. For example, get_law_section(book_code="BGB", section="823") returns the text of section 823 of the German Civil Code. By default the complete, untruncated ``content`` is returned as plain text (HTML tags removed, entities decoded, whitespace normalized; one line per paragraph or list item). Set ``offset`` and/or ``length`` to get a ``snippet`` of that plain text instead (see get_case for the snippet fields and pagination via ``next_offset``). Args: book_code: Law book code (e.g. "BGB", "StGB", "GG"). section: Section identifier. Accepts bare numbers ("823", "20", "16a") or prefixed forms ("§ 823", "§823", "Art. 14", "Art 14", "Artikel 1"). The prefix spelling does not have to match the book: "Art. 20", "Artikel 20" and "20" all find Art 20 GG. Only exact sections match, never a longer number that contains the input. The ``section`` field on the response is whatever the DB stores, which differs by book convention: BGB / StGB / ZPO etc. store ``§ N`` (e.g. ``"§ 823"``), article-based books store e.g. ``"Art 1"`` (GG) or ``"Art. 6"`` (DSGVO). law_id: Direct law database ID (alternative to book_code+section). offset: Start position in plain-text characters (default 0). length: Number of plain-text characters to return. 0 (default) means "until the end". Leave both at 0 for the full content.

100.0/100

1 trials · measured 10 days ago

get_law_section scores 100.0/100 on Vouch's measured behaviour index, from 1 real invocation trials against io.openlegaldata/de, measured 12 Nov 2026 under methodology v0.2.0. Every measured component scored 100.

Component breakdown

ComponentWeightValue
Reliability35%not applicable
Schema integrity25%100.0
Failure behaviour15%not applicable
Latency15%not applicable
Concurrency10%not applicable

Tool details

Transport
remote
Credential class
open
Input schema
not declared
Output schema
not declared
Side-effect classification
unclassified

Score history

DayScoreTierMethodology
2026-11-12100.0shallowv0.2.0

Probe evidence

ProbeOutcomes
schema_integritypass: 1

Raw request/response logs are not archived yet — the outcome counts above are drawn directly from every recorded trial.

Embed this score

Available for every tool, scored or not — not a verification perk. Always links back to this page.

Vouch score: get_law_section
[![Vouch score](https://vouch.tools/api/tools/ffdc2eb2-4d08-42ee-bf0b-67d72359d8ce/badge.svg)](https://vouch.tools/tools/ffdc2eb2-4d08-42ee-bf0b-67d72359d8ce)
get_law_section — Vouch