maps_direction_transit_integrated_by_address
Plan a public transit route between two addresses. Get distance, duration, and detailed instructions for buses, subways, and trains, including cross-city trips.
Instructions
Plans a public transit route between two locations using addresses. Unless you have a specific reason to use coordinates, it's recommended to use this tool.
Args:
origin_address (str): Starting point address (e.g. "北京市朝阳区阜通东大街6号")
destination_address (str): Ending point address (e.g. "北京市海淀区上地十街10号")
origin_city (str): City name for the origin address (required for cross-city transit)
destination_city (str): City name for the destination address (required for cross-city transit)
Returns:
Dict[str, Any]: Route information including distance, duration, and detailed transit instructions.
Considers various public transit options including buses, subways, and trains.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin_city | Yes | ||
| origin_address | Yes | ||
| destination_city | Yes | ||
| destination_address | Yes |