Search all regulations
search_regulationsSearch all loaded regulation modules in one call, ranked by relevance across them. Use when the question names more than one act or you do not know which act holds the answer. limit, detail (compact|full) and max_chars bound the response; per_regulation_min gives each act a share of the page. Each hit carries its regulation id — then read_unit per regulation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | Optional date YYYY-MM-DD: answer with the wording in force on that date (default today). Amended provisions say which act gave them their wording | |
| kinds | No | Optional filter: recital, article, paragraph, annex, section | |
| limit | No | Most rows to return (default 10 on searches, max 50) | |
| query | No | Search terms in English (required) | |
| detail | No | compact (default: ~400-char excerpt around the match) | full (whole unit text) | |
| max_chars | No | Cap on the response size in characters (default 8000) | |
| regulations | No | Optional subset of regulation ids; default = all loaded corpus | |
| per_regulation_min | No | Optional: at least this many rows from each act with matches |