Pl Law Search
pl_law_searchSearch Polish national legislation (Dziennik Ustaw and Monitor Polski: ustawy, rozporzadzenia, obwieszczenia) by title words, e.g. "Kodeks pracy" or "ochronie danych osobowych" (Polish, all words must appear). Optional filters: keyword (subject term), year, type ("Ustawa", "Rozporzadzenie", "Obwieszczenie"), publisher ("DU" or "MP"), in_force_only. Newest first. Returns id (e.g. DU/1974/141), title, type, in-force status, citation, dates and which texts exist; 10 per page, pass next_offset to continue. A statute and the notices that republish its consolidated text are separate records: to find the notice for the latest consolidated text use type="Obwieszczenie". Pair with pl_law_get for the text.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"type": "Obwieszczenie",
"query": "Kodeks pracy",
"in_force_only": true
},
"name": "pl_law_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Act type, e.g. "Ustawa", "Rozporzadzenie", "Obwieszczenie" | |
| year | No | Year of publication, e.g. 1974 | |
| query | No | Polish title words, e.g. "Kodeks pracy" | |
| offset | No | next_offset from a previous page | |
| keyword | No | Subject keyword assigned by the Sejm, e.g. "urlopy" | |
| publisher | No | "DU" (Dziennik Ustaw) or "MP" (Monitor Polski); default both | |
| in_force_only | No | Only acts marked in force (default false) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| query | No | ||
| source | No | ||
| results | No | ||
| data_as_of | No | ||
| next_offset | No | ||
| total_matches | No |