Look up UK postcodes
lookup_postcodeEverything about one UK postcode, or up to 50 at once: whether it is live or terminated, latitude and longitude, and the council, ward, parish, constituency, county, region, police force, NHS board, rural-urban class and deprivation decile it sits in. Use for any question about where a postcode is or which area it belongs to.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "lookup_postcode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Optional comma-separated fields to keep, e.g. "location,local_authority". | |
| postcode | No | A UK postcode, e.g. "SW1A 1AA" (any case, space optional). | |
| postcodes | No | Up to 50 postcodes instead of one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||