search_legal_acts
Search Polish legal acts using filters like date, type, keywords, or title to find specific documents from Dziennik Ustaw and Monitor Polski.
Instructions
Advanced search for Polish legal acts with multiple filters. Use this for finding specific documents by criteria like date, type, keywords, or title. Note: When using multiple keywords, ALL keywords must be present in the act (AND logic).
Input Schema
Name | Required | Description | Default |
---|---|---|---|
act_type | No | Document type (e.g., 'Rozporządzenie', 'Ustawa') | |
date_from | No | Start date for effectiveness period (YYYY-MM-DD) | |
date_to | No | End date for effectiveness period (YYYY-MM-DD) | |
in_force | No | Only return currently active acts. Type 'true' for active, 'false' for inactive | |
keywords | No | List of keywords to search in act content. ALL keywords must be present (AND logic) | |
limit | No | Maximum number of results (default: all matching) | |
offset | No | Skip first N results for pagination | |
pub_date_from | No | Start date for publication period (YYYY-MM-DD) | |
pub_date_to | No | End date for publication period (YYYY-MM-DD) | |
title | No | Text fragment to search in act titles | |
year | No | Publication year (e.g., 2020, 2023) |
Input Schema (JSON Schema)
{
"properties": {
"act_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Document type (e.g., 'Rozporządzenie', 'Ustawa')"
},
"date_from": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Start date for effectiveness period (YYYY-MM-DD)"
},
"date_to": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "End date for effectiveness period (YYYY-MM-DD)"
},
"in_force": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "string"
}
],
"default": null,
"description": "Only return currently active acts. Type 'true' for active, 'false' for inactive"
},
"keywords": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "List of keywords to search in act content. ALL keywords must be present (AND logic)"
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Maximum number of results (default: all matching)"
},
"offset": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Skip first N results for pagination"
},
"pub_date_from": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Start date for publication period (YYYY-MM-DD)"
},
"pub_date_to": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "End date for publication period (YYYY-MM-DD)"
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Text fragment to search in act titles"
},
"year": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Publication year (e.g., 2020, 2023)"
}
},
"type": "object"
}