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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| to_place_id | Yes | ||
| from_place_id | Yes |