amap_direction_transit
Plan public transit routes by providing origin, destination, and city to receive bus and metro options with walking segments, transfers, duration, and fare.
Instructions
公交/地铁路径规划。传入起点/终点和所在城市,返回公交换乘方案——含步行段、公交线路、地铁线路、换乘次数、总耗时、票价。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | 城市,如「北京」 | |
| date | No | 日期,YYYY-MM-DD | |
| time | No | 时间,HH:MM | |
| cityd | No | 终点城市(跨城时使用) | |
| origin | Yes | 起点,支持坐标(lng,lat)或地址 | |
| strategy | No | 策略: 0-最快捷, 1-最经济, 2-最少换乘, 3-最少步行, 5-不乘地铁 | |
| destination | Yes | 终点,支持坐标(lng,lat)或地址 |