geocode
Convert any address or landmark into precise latitude and longitude coordinates for mapping and location-based services.
Instructions
将地址转换为经纬度坐标。支持结构化地址和地标名称。
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": "geocode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | 指定城市名称,可提高地址解析的准确性,如:"北京市" | |
| address | Yes | 要转换的地址,如:"北京市朝阳区阜通东大街6号"或"天安门" |