规划真实路线
amap_plan_routeCalculate walking, driving, or transit routes between two GPS coordinates. Provides distance, estimated time, and detailed turn-by-turn instructions.
Instructions
按真实起终点坐标规划高德步行、驾车或公交路线,返回距离、预计耗时和关键步骤。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | 公交起点城市,transit 模式必填 | |
| mode | Yes | ||
| origin | Yes | ||
| strategy | No | 驾车策略,透传给高德 strategy | |
| destination | Yes | ||
| destination_city | No | 公交终点城市,跨城公交时填写 | |
| coordinate_system | No | 输入坐标系。高德结果统一输出 GCJ-02 | GCJ-02 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| tool | Yes | ||
| error | No | ||
| summary | Yes | ||
| metadata | Yes |