Compare areas side by side
compare_areasUp to 10 areas side by side on up to 8 published metrics, one basis line. Use
it for "compare W14 with E5 on rent and yield". `areas` is a list of
{"type": "postcode_district" | "local_authority" | "county" | "country",
"code": ...}; codes as in resolve_place. Free text is refused.
Each row is one area, and an area that cannot be read is its own row with
covered=false and a reason (the call is covered if at least one row answered).
Months can differ between areas: read each figure's `period`. Asking-to-sold
and days on market are hidden where fewer than 10 sales matched; days on
market is only observed from Sep 2026. Do NOT use it as a valuation.
More than 10 areas or 8 metrics is refused. Free; covered=false or an upstream
failure is not charged. Free.
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": {
"areas": "<areas>",
"metrics": "<metrics>"
},
"name": "compare_areas"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| beds | No | all | |
| areas | Yes | ||
| metrics | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||