Compare Indian localities head-to-head
compare_localitiesCompare 2–3 localities in one city side-by-side: price trends, livability, investment grade, strengths, and watchouts. Use when the user asks "X vs Y" or "which is better for buying/renting" about neighborhoods. Covers cities AVnester publishes locality guides for; others return supported=false — surface the scopeMessage. For specific LISTINGS by ID, use compare_properties 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": {
"city": "<city>",
"localities": "<localities>"
},
"name": "compare_localities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | Indian city covering all compared localities. | |
| localities | Yes | 2–3 localities to compare (array, not comma-separated string). | |
| propertyType | No | Property type for comparison. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | ||
| cards | Yes | ||
| supported | Yes | ||
| comparison | Yes | ||
| disclaimer | Yes | ||
| handoffUrl | Yes | ||
| localities | Yes | ||
| attribution | Yes | ||
| scopeMessage | No | ||
| editorialNote | No | ||
| supportedCities | No | ||
| resolvedLocalities | No |