locate_ip
Find geographic location details including province, city, coordinates, and district for any IP address using Amap's geolocation service.
Instructions
获取用户的 IP 地址定位信息,返回省市区经纬度等信息。
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": "locate_ip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | 用户的ip地址 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| meta | No | ||
| error | No | ||
| success | Yes |