Trails near a point
trails_nearTrails within a radius of a latitude and longitude, nearest first, with the distance to the closest point of each trail. For a town or address, pass its coordinates. Optional filters as in search_trails.
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": "trails_near"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude in decimal degrees. | |
| lon | Yes | Longitude in decimal degrees (negative in the United States). | |
| kind | No | rail: on a former railway; trolley: an old streetcar or interurban line; canal_towpath: beside a canal; greenway: a car-free path not on a railbed. | |
| limit | No | How many trails to return (1-50). | |
| surface | No | Trail surface. crushed_stone is packed stone dust, good for most bikes. | |
| min_miles | No | Shortest trail length, in miles. | |
| radius_miles | No | Search radius in miles (up to 100). |