Weather Tool — 天气工具
v1.0.0获取当前天气和预报。当用户需要查看当前天气、为旅行规划获取预报或监测天气状况时使用。
0· 0·0 当前·0 累计
运行时依赖
无特殊依赖
安装命令
点击复制官方npx clawhub@latest install weather-tool
镜像加速npx clawhub@latest install weather-tool --registry https://cn.longxiaskill.com 镜像可用
技能文档
天气工具 获取当前天气和预报。 快速开始 # 当前天气 python scripts/weather.py 北京 # 预报 python scripts/weather.py 北京 --forecast 3 用法 python scripts/weather.py [LOCATION] [OPTIONS] 选项: --forecast DAYS 预报天数(1-7) --json 输出为 JSON --celsius 使用摄氏度(默认) --fahrenheit 使用华氏度 示例 # 当前天气 python scripts/weather.py 北京 # 3 天预报 python scripts/weather.py 上海 --forecast 3 # JSON 输出 python scripts/weather.py "纽约" --json 功能 当前天气状况 多日预报 温度(C/F) JSON 输出 多地支持