daily_forecast
Get whole-day weather forecasts for any Swiss location, including daily temperature lows and highs, rainfall, and conditions. Plan one day or several days ahead.
Instructions
Get the whole-day forecast for a location, for one day or several days in a row: the
cheapest way to answer "how is the weather" for a day, the weekend or the week.
Each day covers a Swiss calendar day, 00:00 to 24:00 local time. The minimum and maximum
are the lowest and highest hourly mean temperature of that day, and the weather words
describe the daytime. Always use this for the rain of a whole day.
Args:
location (str): Location name (e.g., "Zurich") or Swiss postal code (e.g., "8001").
start_date (str): The first Swiss calendar day in ISO 8601, e.g. "2026-09-23". Today or up to 8 days ahead.
days (int): How many days in a row, from 1 to 9. Default 1.
Returns:
dict: The resolved location with its altitude, one row per day, and the model run.
Each row has the date and weekday, the minimum and maximum temperature in
Celsius, the day's rainfall in millimetres as its median and its 10th and 90th
percentile (in 8 of 10 possible outcomes, the rain lies between the two
percentiles), and the weather in words with a matching emoji. A value is None
when MeteoSwiss does not publish it for that location.
Examples:
daily_forecast("Zurich", "2026-09-23")
daily_forecast("Lugano", "2026-09-26", 2) # a weekend
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| location | Yes | ||
| start_date | Yes |