Get city detail
get_cityReturn city coordinates, zip code, country, and canton IDs to use as city_id when creating a listing.
Instructions
Return a single city with coordinates, zip_code, country_id and canton_id (GET /cities/:id). Use the id as city_id when creating a listing.
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": {
"id": "<id>"
},
"name": "get_city"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | City id |