openlex__zhlaw_search_articles
Search all articles of a specific law by term. Enter law identifier and query to retrieve matching articles with full content.
Instructions
Durchsucht alle Artikel eines bestimmten Gesetzes nach einem Begriff.
Wenn bekannt ist, in welchem Gesetz gesucht werden soll, aber nicht welcher Artikel relevant ist. Liefert alle Treffer-Artikel mit Inhalt. Für einen einzelnen Artikel mit bekannter Nummer: openlex__zhlaw_get_article.
Parst das Gesetz in einzelne Artikel und durchsucht Titel und Inhalt. Suche ist case-insensitive, kein FTS5 (einfaches Substring-Match). Gibt count=0 wenn kein Artikel den Begriff enthält. Benötigt Volltext im Cache — bei fehlendem Inhalt: Hinweis im message-Feld.
law_identifier='VSG', query='Elternrat'
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| source | No | Kanton Zürich Rechtssammlung — HuggingFace rcds/swiss_legislation (CC-BY-SA 4.0) & zh.ch | |
| message | No | ||
| results | No | ||
| provenance | Yes | ||
| result_type | No | articles |