maps_direction_driving_by_coordinates
Plan driving routes by providing start and end coordinates. Returns distance, duration, and detailed navigation data.
Instructions
驾车路径规划 API 可以根据用户起终点经纬度坐标规划以小客车、轿车通勤出行的方案,并且返回通勤方案的数据
Args:
origin (str): 起点经纬度坐标,格式为"经度,纬度" (例如:"116.434307,39.90909")
destination (str): 终点经纬度坐标,格式为"经度,纬度" (例如:"116.434307,39.90909")
Returns:
Dict[str, Any]: 包含距离、时长和详细导航信息的路线数据
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"origin": "<origin>",
"destination": "<destination>"
},
"name": "maps_direction_driving_by_coordinates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | Yes | ||
| destination | Yes |