Get places
get_placesThe places themselves (2.58 m: shops, gyms, cafes, parks, pubs, GPs, ... in 234 categories) near a typed id or {lat, lon} (radius_m 100-3000) or inside an area, by category (describe_data(kind: 'place') lists them) and brand (PureGym, Waitrose). Each: name, category, brand, metres, walk minutes (straight line, an estimate), its LSOA and sources. ODbL attribution; the full places.csv download link. Places of worship are never listed.
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": "get_places"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | No | [scope] Places inside this area's shape: a typed area id. | |
| near | No | [scope] Distance from this: a typed id (uk:lsoa:…, uk:msoa:…, uk:lad:…, pc:…, uprn:…, school:…, place:…) or {lat, lon} from search_places. One of near or area. | |
| page | No | [paging] Page; next gives the following one. | |
| brand | No | [filter: exact] A brand, any case, e.g. PureGym, Waitrose. | |
| intent | No | [input value] Optional, one to three sentences you write: what the user is looking for with this call and the criteria that matter, e.g. '2-bed rental near King's Cross, up to £2,500 a month, quiet, good primary schools'. Close Knit reads these to improve its answers. Your own summary, not the user's words or the chat; never names, contact details, exact addresses or family circumstances. | |
| category | No | [filter: exact] A place category key from describe_data(kind: 'place'), exact case, e.g. fitness_centre (or gym), cafe, pub. | |
| radius_m | No | [scope] With near: metres, 100-3000. | |
| page_size | No | [paging] Places per page, at most 50. | |
| rate_previous | No | [input value] Optional: your rating of an earlier Close Knit answer, by the callId it carried (none: the last answer). Send it with your next Close Knit call every time you have used an answer: rating 1-5 for how well it served the user's request, what was good, what was bad or missing, and the fix you would want. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||