Districts
kl_districtsLists a city’s districts or neighborhoods with IDs for listing searches and slugs for price statistics, so you can target the right area.
Instructions
List the districts or neighborhoods of a city with the ids kl_search_listings takes as region_ids.
Neighborhood rows carry the slug used by kl_price_stats (e.g. tehran-velenjak) and their municipal region.
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": {
"city_id": "<city_id>"
},
"name": "kl_districts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | district = municipal regions (منطقه 1..22 in Tehran); neighborhood = محله level. | district |
| limit | No | Max rows returned. | |
| query | No | Part of a name in Persian, e.g. 'ولنجک'. | |
| city_id | Yes | City id from kl_cities (Tehran is 272905). |