Nearby bike stations
nearby_stationsFind nearest bike-share stations around coordinates with live bikes, e-bikes, or free docks; filter by need and distance after getting a network ID.
Instructions
Nearest stations of one network to a point, with live bikes, e-bikes and free docks. Get network_id from search_networks first.
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": {
"network_id": "<network_id>",
"lat": "<lat>",
"lon": "<lon>"
},
"name": "nearby_stations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | ||
| lon | Yes | ||
| need | No | "bikes" keeps stations renting with bikes left, "docks" stations with free docks. | |
| limit | No | ||
| network_id | Yes | Network id returned by search_networks, e.g. "velib-velos-et-bornes-disponibilite-temps-reel". | |
| max_distance_meters | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | Yes | ||
| stations | Yes | ||
| freshness | Yes | ||
| attribution | Yes | ||
| droppedStations | Yes | ||
| outsideNetworkArea | Yes | ||
| nearestDistanceMeters | Yes |