search_units
Find Polish territorial units by partial name to get their IDs for data queries. Specify voivodeship, powiat, or gmina level and retrieve unit identifiers.
Instructions
Search for territorial units by name — voivodeships, powiats, gminas. Returns unit IDs used with get_data. Level meanings: 0=Kraj (country), 2=Województwo, 5=Powiat, 6=Gmina.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Partial name (case-insensitive), e.g. 'Warszawa' | |
| level | No | Optional territorial level (0..7) | |
| limit | No |