poi_along_route
Discover points of interest along a route by providing its encoded polyline. Useful for locating fuel, food, or ATMs on the way.
Instructions
Find points of interest along a route — useful for finding fuel stations, restaurants, or ATMs on the way from A to B. Requires the encoded polyline from get_directions.
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": {
"path": "<path>",
"category": "<category>"
},
"name": "poi_along_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Encoded polyline geometry string (from the 'geometry' field of get_directions response) | |
| buffer | No | Search buffer in metres on each side of the route (default 300) | |
| category | Yes | POI category code (e.g. 'FODCOF' for food & coffee, 'FINATM' for ATMs, 'PETPTM' for petrol pumps) |