forecast_daily
Get the whole-day forecast for a place, 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.
Instructions
Get the whole-day forecast for a place, 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): Place name: a town, village, city district, lake or peak (e.g., "Zurich").
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 place, the forecast point used, one row per day and the model run; the
field names give the units. In 8 of 10 possible outcomes, the day's rain lies
between its 10th and 90th percentile. A value is None when MeteoSwiss does not
publish it for that forecast point.
Examples:
forecast_daily("Zurich", "2026-09-23")
forecast_daily("Lugano", "2026-09-26", 2) # a weekend
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| near | No | Only when several places share the name: a village next to the place the user means. For "the Blausee near Bettmeralp" use location "Blausee" and near "Bettmeralp". Leave it out otherwise. | |
| location | Yes | ||
| start_date | Yes |