Site selection
select_siteRank candidate sites in an area by geodesic distance to amenities you want nearby and away from ones to avoid (OpenStreetMap data). Takes ~10-30 s.
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": {
"within": "<within>"
},
"name": "select_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| near | No | Amenity types to be close to | |
| avoid | No | Amenity types to stay away from | |
| within | Yes | City or neighbourhood | |
| radius_m | No | Search radius in metres from the centre of the area | |
| facility_type | No | What the site is for, e.g. 'pharmacy'; labels the result, does not change the ranking | restaurant |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bbox | No | ||
| type | No | FeatureCollection | |
| features | Yes | ||
| geospark | No |