City Base Data
get_cityLook up base data for a German city including population, area, and coordinates. Confirms city existence and provides core attributes from Wikidata.
Instructions
Get base data for a German city (population, area, coordinates).
Sourced from Wikidata. Read-only. Useful as a first lookup to confirm a city
exists and get its core attributes. For a broader question about the city
(what data is available at all) use get_city_overview instead.
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": {
"slug": "<slug>"
},
"name": "get_city"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | City slug from the list_cities tool, e.g. 'berlin' or 'hamburg'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| meta | Yes |