构建 AI 位置上下文
amap_build_location_contextResolves addresses or coordinates into location context with reverse geocoding and nearby POI for AI traceability.
Instructions
组合地点解析、逆地理编码和周边 POI,为 AI 生成可追溯的位置事实;query 或 location 至少一个。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "amap_build_location_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | ||
| query | No | ||
| radius | No | ||
| location | No | ||
| nearby_limit | No | ||
| nearby_keywords | No | ||
| coordinate_source | No | 坐标来源;只有明确来自设备 GPS 时才选择 device_gps | unknown |
| coordinate_system | No | 输入坐标系。高德结果统一输出 GCJ-02 | GCJ-02 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| tool | Yes | ||
| error | No | ||
| summary | Yes | ||
| metadata | Yes |