roads_nearest
Identify the nearest roads for a set of geographic coordinates, specifying travel mode for accurate road network results.
Instructions
Find nearest roads to given points
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": {
"points": "<points>"
},
"name": "roads_nearest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| points | Yes | Array of geographic coordinates to find nearest roads for. Each point should be an object like {"lat": 40.7128, "lng": -74.0060} | |
| travel_mode | No | Travel mode for road network |