weather

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Weather

天气

Available Tools

可用工具

  • get_today_weather(city_name, country?): Get current weather conditions and today's hourly forecast.
    • city_name
      (string, required): City name (e.g., "Seoul", "New York", "London")
    • country
      (string, optional): Country name for disambiguation (e.g., "South Korea")
  • get_weather_forecast(city_name, days?, country?): Get multi-day weather forecast (1-16 days).
    • city_name
      (string, required): City name
    • days
      (integer, optional, default: 7): Number of forecast days (1-16)
    • country
      (string, optional): Country name for disambiguation
  • get_today_weather(city_name, country?): 获取当前天气状况及今日逐小时预报。
    • city_name
      (字符串,必填):城市名称(例如:"Seoul"、"New York"、"London")
    • country
      (字符串,可选):用于消除歧义的国家名称(例如:"South Korea")
  • get_weather_forecast(city_name, days?, country?): 获取多日天气预报(1-16天)。
    • city_name
      (字符串,必填):城市名称
    • days
      (整数,可选,默认值:7):预报天数(1-16)
    • country
      (字符串,可选):用于消除歧义的国家名称

Usage Guidelines

使用指南

  • Use city names directly — the API handles geocoding internally.
  • Add
    country
    when the city name is ambiguous (e.g., "Portland" exists in both Oregon and Maine).
  • Use
    get_today_weather
    for current conditions and today's hourly breakdown.
  • Use
    get_weather_forecast
    for multi-day planning (travel, events, outdoor activities).
  • Present temperatures in both Celsius and Fahrenheit when the user's preference is unclear.
  • Include relevant details: precipitation probability, wind speed, humidity.
  • 直接使用城市名称——API会在内部处理地理编码。
  • 当城市名称存在歧义时添加
    country
    参数(例如,"Portland"在俄勒冈州和缅因州都有)。
  • 使用
    get_today_weather
    获取当前天气状况及今日逐小时细分预报。
  • 使用
    get_weather_forecast
    进行多日规划(旅行、活动、户外活动)。
  • 当用户偏好不明确时,同时显示摄氏度和华氏度温度。
  • 包含相关细节:降水概率、风速、湿度。