公网 IP 归属地查询
cn_ip_lookupLook up public IP information including country, region, city, ISP, and ASN. Returns current public IP details without an input.
Instructions
查询公开 IP 的国家/地区/城市/运营商/ASN 等信息;不传 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": "cn_ip_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | 公网 IPv4/IPv6;不传则查询当前出口 IP。 |