maps_direction_transit_integrated_by_coordinates
Plan public transit routes using coordinate points for multi-modal transportation including trains, buses, and subways, providing distance, duration, and detailed route information.
Instructions
根据用户起终点经纬度坐标规划综合各类公共(火车、公交、地铁)交通方式的通勤方案,并且返回通勤方案的数据,跨城场景下必须传起点城市与终点城市
Args:
origin (str): 起点经纬度坐标,格式为"经度,纬度" (例如:"116.434307,39.90909")
destination (str): 终点经纬度坐标,格式为"经度,纬度" (例如:"116.434307,39.90909")
city (str): 起点城市名称
cityd (str): 终点城市名称
Returns:
Dict[str, Any]: 包含距离、时长和详细公共交通信息的路线数据
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | Yes | ||
| destination | Yes | ||
| city | Yes | ||
| cityd | Yes |
Input Schema (JSON Schema)
{
"properties": {
"city": {
"title": "City",
"type": "string"
},
"cityd": {
"title": "Cityd",
"type": "string"
},
"destination": {
"title": "Destination",
"type": "string"
},
"origin": {
"title": "Origin",
"type": "string"
}
},
"required": [
"origin",
"destination",
"city",
"cityd"
],
"type": "object"
}