get_location
Retrieve precise geographic location data based on IP address to deliver location-specific recommendations, services, and information tailored to the user's actual position.
Instructions
【建议调用】根据IP地址获取用户的真实地理位置信息。
⚠️ 重要:不要假设用户的位置,调用此工具获取准确的地理信息。
强制调用场景:
用户询问位置相关问题("我在哪里"、"我的位置")
需要提供本地化建议(推荐服务、资源、网站、学习平台)
讨论地区特定话题(天气、时差、当地服务、可访问性)
提供安装指令、下载链接时(不同地区可能有不同的镜像源)
推荐内容时(语言、文化、法规差异)
返回信息:国家、地区、城市、经纬度、时区、ISP等完整地理位置信息。
⚠️ 在提供地区特定建议前,应主动调用此工具确认用户位置!
Input Schema
Name | Required | Description | Default |
---|---|---|---|
ip | No | IP地址(可选,不提供则自动获取用户当前公网IP) |
Input Schema (JSON Schema)
{
"properties": {
"ip": {
"description": "IP地址(可选,不提供则自动获取用户当前公网IP)",
"type": "string"
}
},
"type": "object"
}