Search Legislation Provisions by Text
ua_law__search_unitsFind provisions by their text: which articles, points or clauses say X.
Every word of text must appear (quote it for an exact phrase). Searches the
text as published on on_date (default today); nreg limits it to acts. Each
hit is the smallest unit holding it, with that day's urn. ⟦ ⟧ in excerpt
mark matches, not the law's text. amending_act hits restate other acts.
search finds acts by title.
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": {
"text": "<text>"
},
"name": "ua_law__search_units"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nreg | No | Only these acts. | |
| text | Yes | Words to find. | |
| limit | No | ||
| offset | No | ||
| on_date | No | Text as published that day. | |
| per_act | No | Hits per act, 0: all (default 3; 1 act: all). | |
| amending_acts | No | False: no amending laws. |