spothero_cities
Retrieve SpotHero city markets with IDs, slugs, coordinates, and country codes, or sort markets by distance from a latitude and longitude for location-based lookups.
Instructions
List SpotHero cities. Mirrors SpotHero's GET /api/v1/cities/: every SpotHero market (id, title, slug, coordinates, country code), or the markets nearest a coordinate when lat and lon are given. City ids feed spothero-city, spothero-destinations and the city slugs feed spothero-city-destination.
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": "spothero_cities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Latitude; with lon, sorts by distance | |
| lon | No | Longitude; with lat, sorts by distance | |
| limit | No | Maximum cities, 1 to 500 | |
| order | No | Distance order, only with lat/lon |