weather
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseWeather
天气
Available Tools
可用工具
-
get_today_weather(city_name, country?): Get current weather conditions and today's hourly forecast.
- (string, required): City name (e.g., "Seoul", "New York", "London")
city_name - (string, optional): Country name for disambiguation (e.g., "South Korea")
country
-
get_weather_forecast(city_name, days?, country?): Get multi-day weather forecast (1-16 days).
- (string, required): City name
city_name - (integer, optional, default: 7): Number of forecast days (1-16)
days - (string, optional): Country name for disambiguation
country
-
get_today_weather(city_name, country?): 获取当前天气状况及今日逐小时预报。
- (字符串,必填):城市名称(例如:"Seoul"、"New York"、"London")
city_name - (字符串,可选):用于消除歧义的国家名称(例如:"South Korea")
country
-
get_weather_forecast(city_name, days?, country?): 获取多日天气预报(1-16天)。
- (字符串,必填):城市名称
city_name - (整数,可选,默认值:7):预报天数(1-16)
days - (字符串,可选):用于消除歧义的国家名称
country
Usage Guidelines
使用指南
- Use city names directly — the API handles geocoding internally.
- Add when the city name is ambiguous (e.g., "Portland" exists in both Oregon and Maine).
country - Use for current conditions and today's hourly breakdown.
get_today_weather - Use for multi-day planning (travel, events, outdoor activities).
get_weather_forecast - Present temperatures in both Celsius and Fahrenheit when the user's preference is unclear.
- Include relevant details: precipitation probability, wind speed, humidity.
- 直接使用城市名称——API会在内部处理地理编码。
- 当城市名称存在歧义时添加参数(例如,"Portland"在俄勒冈州和缅因州都有)。
country - 使用获取当前天气状况及今日逐小时细分预报。
get_today_weather - 使用进行多日规划(旅行、活动、户外活动)。
get_weather_forecast - 当用户偏好不明确时,同时显示摄氏度和华氏度温度。
- 包含相关细节:降水概率、风速、湿度。