map_ip_location
Locate the approximate city and province from an IP address. Leave blank to locate the source IP.
Instructions
IP 定位:根据 IP 地址返回其大致所在的省市。留空则定位请求来源 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": "map_ip_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | 可选,IP 地址;留空则定位调用方 IP | |
| platform | No | Map platform to use. Defaults to 'amap'. | amap |