Find stations near a point
find_cheapest_stationsList gas stations around a latitude/longitude in Quebec with current prices in ¢/L, ranked by value (the default: price plus a 1¢/L-per-km distance penalty, the best answer to "where should I fill up"), by price, or by distance. Each station comes with name, brand, address, city, distance and all three fuel prices, so this is also the way to look up a specific station or brand: search around its location with sort=distance and pick it out by name or brand. There is no geocoding tool: turn a postal code, address, landmark or neighbourhood into approximate coordinates yourself. If the user gives no location at all, ask for one instead of guessing. Returns at most 10 stations within 30 km; for a whole-city summary use get_city_prices.
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>",
"lng": "<lng>"
},
"name": "find_cheapest_stations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude in decimal degrees (Quebec: 44 to 63). Estimate it yourself from a postal code, address or landmark. | |
| lng | Yes | Longitude in decimal degrees (Quebec: -80 to -57). Estimate it yourself from a postal code, address or landmark. | |
| sort | No | value = price + 1¢/L per km of distance (default); price = cheapest first; distance = closest first | value |
| limit | No | Number of stations to return, default 5, max 10 | |
| fuel_type | No | Which price ranks the stations: ordinaire = regular, super = premium, diesel = diesel. All three prices are returned either way. | ordinaire |
| radius_km | No | Search radius in km, default 10, max 30 (larger values are rejected) |