解析真实地点
amap_resolve_locationResolves place names or addresses into Amap POI and GCJ-02 coordinates, using city and optional current location to rank candidates.
Instructions
把地点名或地址解析为高德真实 POI/GCJ-02 坐标,结合城市和可选当前坐标排序候选;不冒充设备 GPS。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | 城市名或 adcode,用于消歧 | |
| limit | No | ||
| query | Yes | 地点、POI 或完整地址 | |
| current_location | No | 可选的当前 GCJ-02 坐标,用于距离排序,不会被当作设备定位 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| tool | Yes | ||
| error | No | ||
| summary | Yes | ||
| metadata | Yes |