List Locations
list_locationsList countries, cities, or neighborhoods with listing counts.
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": {
"type": "<type>"
},
"name": "list_locations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | City name for neighborhoods (alternative to parent_id) | |
| type | Yes | ||
| parent_id | No | country_id for cities, city_id for neighborhoods |