Get
getEverything about 1-10 things by typed id: uk:lsoa:E01…, uk:msoa:E02…, uk:lad:E09…, uk:rgn:E12…, sector:e17-4, pc:E17 4PP, uprn:, school:, place:osm:n123 (search_places finds ids from names), or a guide article, guide:crime, in a call of its own (describe_data(kind: 'guide') lists them): the page's text, how a figure is made and what it cannot say. No select: a summary and an index of sections. select takes plain dotted paths (safety.rate, layers.air-no2, flood, rents); an unknown path answers didYouMean and the valid paths. sections='all' gives every section's headline facts; sections=['layers'] the headline map layers (Census only with theme or query); detail='full' adds series by year. Two or more ids add a compare view: a row per fact with each id's value and who leads. An unknown id among others is its own entry in errors; the rest are answered. Each item has nav (up, inside, nearby, act) and the site page url. Figures equal the site's pages; flags as on the site.
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": {
"ids": "<ids>"
},
"name": "get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | [id] 1-10 typed ids: uk:lsoa:…, uk:msoa:…, uk:lad:…, uk:rgn:…, sector:…, pc:…, uprn:…, school:…, place:…, or guide:… in a call of their own | |
| query | No | [search: contains] narrow layers to metrics with any of the words, any case | |
| theme | No | [filter: exact] narrow layers to one theme (census too) | |
| detail | No | [option] full adds series by year. | compact |
| 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. | |
| period | No | [input value] YYYY-MM for the profile section: each figure's latest on or before it. Default: this month. | |
| select | No | [select fields] plain dotted paths, e.g. safety.rate, layers.air-no2 | |
| sections | No | [select fields] "all" or section names | |
| 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 | |||