SuperAPI AI 工具集

weather-forecasting

通用与其它

查看项目

更新于 10-16 08:08

技能介绍

用途:查询当前天气与未来5天预报,适用于温度、降雨、风、湿度及“明天”“本周”等未来天气问题。

主要能力与用法:当前天气用 get_weather;未来天气用 get_weather_forecast。查其他城市可传 location 参数(如 "Denver, CO")。模糊或本地指代(如 here、near me)可不传 location 参数,使用家庭区域。命名地点如 Camp、Chiricahua Mountains、Rustler Park 可传 location="camp" 或 location="Chiricahua Mountains",解析到约 8900 英尺的 Rustler Park,比家庭位置高约 4000 英尺,常低约 20°F;若已配置,则读取 Rustler Park 站点实时数据。切勿用 Portal, AZ 或 Rodeo, NM 的天气回答营地/山区问题,它们位于山脚。家庭位置(不传 location,或 home、the house、Rodeo)对应用户自己的站点 KNMRODEO33。

区域查询:get_weather(stations="local") 返回已关注站点过去24小时、当天、7天的降雨,当前风与当日最大阵风,以及距家庭位置的距离和方向。也可传入用户指定的站点,如 get_weather(stations="KAZSANSI34"),多个用逗号分隔,无需在列表中。需要持续关注时可安排后续调用。Weather Underground 区域名是邮局城镇名,如 "San Simon" 覆盖谷底到 9000 英尺山脊,应看站点海拔和距离而非名称。

限制:家庭位置在设置中配置(坐标已预配置)。小城镇可能无法识别,可使用最近的大城市。单位为英制(华氏度)。地点与站点在 Settings → Weather → Weather Stations 编辑(存储在 data/weather-places.json)。