snap_to_network
Snap a coordinate to the nearest road network node (intersection or stop) to enable accurate routing and graph analysis.
Instructions
Snap a coordinate to the nearest loaded graph node (intersection or stop).
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": "snap_to_network"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | ||
| lon | Yes | ||
| kind | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||