Search Provisions Tool
search_provisionsSearches inside one legislative act and returns the provisions that match — with marker, heading, an excerpt of the wording and the lawdb.eu link.
Use this whenever a question is about what a named act says: "does the BGB
say anything about Übereignung?", "which provision of the GDPR governs
consent?". search_legal_documents ranks whole documents and is dominated
by case law for such questions; this tool works section by section.
Name the act however you have it: its curated short name ("BGB", "DSGVO"),
its official abbreviation, or the id of a search result, an ELI or a
CELEX number. Read the full wording of a hit with get_provision, passing
back the act and the marker from the result.
Every matching provision of the act is available, not just the best few:
total reports how many there are, and next_offset — present whenever
more remain — goes back as offset for the next page. Where
search_legal_documents shows at most three provisions per act, this is
the tool that finds all of them ("Bienenschwarm" is § 961 to § 964 BGB).
The match is literal: the words you pass are compared against the wording, without stemming, inflection or synonyms. "Zuständigkeit" does not find "zuständig". Search the shortest distinctive word, not a full phrase, and vary the wording if nothing comes back.
Consolidated EU acts are held as one continuous text rather than as
separately addressable articles. For those, act.structured_provisions is
false and the results carry the article heading a passage sits under
instead of a marker — quote it, but do not pass it to get_provision.
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": {
"act": "<act>",
"query": "<query>"
},
"name": "search_provisions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| act | Yes | The act: a short name such as "BGB" or "DSGVO", the `id` of a search result, an ELI or a CELEX number. | |
| limit | No | Maximum number of provisions per page. | |
| query | Yes | What to look for in the act — a term, a phrase or a provision heading. | |
| offset | No | Skip this many provisions. Pass back the `next_offset` of the previous page. | |
| language | No | ISO 639-1 code of the desired language version. Defaults to German, then English. |