plan_route
Plan a multimodal route between two coordinates with walk, transit, or pedestrian-only options. Works on a pre-loaded area graph from a prior load_area call.
Instructions
Plan a multimodal route on the loaded area graph.
modes defaults to walk+transit. Use ["walk"] for pedestrian-only. Requires a prior successful load_area call.
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": {
"origin_lat": "<origin_lat>",
"origin_lon": "<origin_lon>",
"destination_lat": "<destination_lat>",
"destination_lon": "<destination_lon>"
},
"name": "plan_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| modes | No | ||
| origin_lat | Yes | ||
| origin_lon | Yes | ||
| destination_lat | Yes | ||
| destination_lon | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||