Find locations
find_locationResolve a German place name into matching location IDs. Get candidate IDs even when multiple locations share the same name, enabling precise listing searches.
Instructions
Location ids matching a name or postcode. Always returns candidates — a postcode can map to several locations.
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": {
"query": "<query>"
},
"name": "find_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | A German place name, optionally qualified as "Bundesland > Ort". A five-digit postcode matches nothing: the postcode layer's ids are absent from every source this dataset may read. Pass a postcode to search_listings' free-text `location` instead, which the site resolves itself — silently picking when the postcode spans several locations. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| stale | Yes | ||
| matches | Yes | ||
| fetched_at | Yes | ||
| source_url | Yes | ||
| stale_reason | No |