maps_directions
Generate precise directions between two locations using specified travel modes like driving, walking, bicycling, or transit. Ideal for planning routes with accurate, real-time guidance.
Instructions
獲取兩點之間的路線指引
Input Schema
Name | Required | Description | Default |
---|---|---|---|
destination | Yes | 終點地址或座標 | |
mode | No | 交通模式 | driving |
origin | Yes | 起點地址或座標 |
Input Schema (JSON Schema)
{
"properties": {
"destination": {
"description": "終點地址或座標",
"type": "string"
},
"mode": {
"default": "driving",
"description": "交通模式",
"enum": [
"driving",
"walking",
"bicycling",
"transit"
],
"type": "string"
},
"origin": {
"description": "起點地址或座標",
"type": "string"
}
},
"required": [
"origin",
"destination"
],
"type": "object"
}