nearest_postcode
Convert coordinates to the nearest UK postcode and retrieve its associated risk and demographic enrichment data.
Instructions
Find the nearest UK postcode to a latitude/longitude coordinate and return its full enrichment data. Useful when you have coordinates and need the corresponding postcode along with its risk and demographic signals.
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": {
"lat": "<lat>",
"lon": "<lon>"
},
"name": "nearest_postcode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude (WGS84), e.g. 51.5074 | |
| lon | Yes | Longitude (WGS84), e.g. -0.1278 | |
| radius | No | Search radius in metres. Default 1000, maximum 10000. |