map_geocode
Convert a structured address into geographic coordinates. Returns latitude, longitude, administrative division, and adcode for weather queries.
Instructions
地理编码:将结构化地址(如'北京市朝阳区阜通东大街6号')转换为经纬度坐标。返回坐标、行政区划和 adcode(可用于天气查询)。
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": {
"address": "<address>"
},
"name": "map_geocode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | 可选,限定城市名或 citycode,提高准确度 | |
| address | Yes | 要查询的地址文本 | |
| platform | No | Map platform to use. Defaults to 'amap'. | amap |