maps_direction_driving_by_address
Get driving directions between two addresses with turn-by-turn instructions, distance, duration, and traffic-aware route planning.
Instructions
Plans a driving 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 (Optional[str]): Optional city name for the origin address to improve geocoding accuracy
destination_city (Optional[str]): Optional city name for the destination address to improve geocoding accuracy
Returns:
Dict[str, Any]: Route information including distance, duration, and turn-by-turn instructions.
Considers traffic conditions and road restrictions.
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_address": "<origin_address>",
"destination_address": "<destination_address>"
},
"name": "maps_direction_driving_by_address"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin_city | No | ||
| origin_address | Yes | ||
| destination_city | No | ||
| destination_address | Yes |