openplz_admin_children
Retrieve child administrative units below a German federal state, region, or district using parent type and official key. Set child type and optional limit to walk one hierarchy level.
Instructions
Walk one step down the German administrative tree. parent_type: federal_state | government_region | district. parent_key: official key, e.g. "11" (Berlin), "09" (Bayern), "11000" (Berlin district), "091" (Oberbayern region). child_type: districts | government_regions | localities | municipalities | municipal_associations — only the combinations the API offers (e.g. federal_state -> districts, district -> localities). limit: 1..50 (default 20).
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": {
"parent_type": "<parent_type>",
"parent_key": "<parent_key>",
"child_type": "<child_type>"
},
"name": "openplz_admin_children"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| child_type | Yes | ||
| parent_key | Yes | ||
| parent_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |