Places near a surf town
nearby_placesPlaces around a surf town, closest to the surf first (as on the site): stay (Places to stay), coffee (Coffee), food (Food & drinks), surf (Surf shops & schools), spots (Surf spots (community mapped)). Stays are a saved, merged OpenStreetMap + Overture Maps collection (hotels, resorts, hostels, surf camps, guesthouses, homestays, B&Bs, holiday rentals, villas, camping) with website, phone, email, socials, stars, rooms and facilities where known; a stay only Overture lists has its confidence (0–1), and one under 0.6 is left out. Cafés, food and surf shops/schools are a saved Overture Maps collection too; community-mapped surf spots are a live OpenStreetMap lookup. Places with a reviewed, freely licensed photo (Wikimedia Commons) include it as photo { url, page, author, license }. Each place has distanceKm from the town centre and nearestSpot { name, distanceKm }: the town's curated surf spot closest to it. sort: "surf" (default) puts the places closest to any surf spot first, "distance" closest to the town centre, "stars" (places to stay) most stars first, "name" A–Z; spot (a surf spot's name from get_town) puts the places closest to that one spot first, each with toSpot { name, distanceKm }. sortedBy says the order used (a town without curated spots is in order from its centre). page is the site's page for the answer: for surf schools (kind school) and surf camps (kind surf_camp), the town's surf lessons and surf camps page where it has one (/town//surf-lessons), otherwise the town's Places tab (surf shops, and schools and shops together, are there).
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": {
"town": "<town>"
},
"name": "nearby_places"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Only one kind of place, e.g. stay: "surf_camp", "hostel", "homestay"; coffee: "cafe", "bakery"; food: "restaurant", "bar"; surf: "school", "shop". | |
| sort | No | Order: "surf" closest to a surf spot first (the default, as on the site), "distance" closest to the town centre, "stars" most stars first (places to stay), "name" A–Z. | surf |
| spot | No | A surf spot of the town (its name, from get_town): places closest to this spot first. | |
| town | Yes | Town slug. | |
| limit | No | ||
| category | No | stay | |
| radius_km | No |