ons_geo_by_uprn
Resolve a UK Unique Property Reference Number to all cached ONS geographies, using exact ONSUD or best-fit NSUL derivation.
Instructions
Lookup all cached geographies for a UPRN using derivation mode (exact via ONSUD, best_fit via NSUL).
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": {
"uprn": "<uprn>"
},
"name": "ons_geo_by_uprn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | No | ||
| uprn | Yes | ||
| includeRaw | No | ||
| derivationMode | No | exact |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | ||
| query | Yes | ||
| lookup | Yes | ||
| geographies | Yes | ||
| geographyCount | Yes |