craigslist_nearby_postal
Find Craigslist postal codes near a latitude and longitude, ranked by distance, so you can pass a valid postal into Craigslist search and category-count calls.
Instructions
List the postal codes nearest a point on Craigslist. Returns the postal codes closest to a latitude and longitude, nearest first, each with its city, region, country, distance and radius in miles and the Craigslist area and subarea that serve it (read from the site's codegeo lookup). A point Craigslist has no coverage for returns an empty list. Use a returned postal as the postal parameter of craigslist_search and craigslist_category_counts, and the area slug to scope other calls.
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": {
"lat": "<lat>",
"lon": "<lon>"
},
"name": "craigslist_nearby_postal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude, -90 to 90 | |
| lon | Yes | Longitude, -180 to 180 |