calculate_route
Calculates a route between two places using a selected travel mode, returning directions from the configured RouteProvider. Inspect provider metadata first to determine if the result is live data.
Instructions
Calculate a route through the configured RouteProvider. Provider metadata/source must be inspected before treating the result as live data.
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": {
"from_place_id": "<from_place_id>",
"to_place_id": "<to_place_id>",
"mode": "<mode>"
},
"name": "calculate_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| to_place_id | Yes | ||
| from_place_id | Yes |