forecast_cloud_cover
Get how cloudy it is at a place at a specific time.
Instructions
Get how cloudy it is at a place at a specific time.
MeteoSwiss publishes low, medium and high cloud separately, and they overlap, so the
total is an estimate that assumes the layers are independent. All three layers are
returned as well, which tells low fog apart from thin high cloud.
When a number is not needed, forecast_hourly answers "how cloudy" in plain words.
Args:
location (str): Place name: a town, village, city district, lake or peak (e.g., "Zurich").
when (str): Swiss local time as a full hour in ISO 8601 without offset, e.g. "2026-09-23T14:00". Today or up to 8 days ahead.
Returns:
dict: The total cloud cover and its low, medium and high layers in percent, the
place, the forecast point used, the time it is valid for and the model run.
Examples:
forecast_cloud_cover("Zurich", "2026-09-23T14:00")
forecast_cloud_cover("Locarno", "2026-09-24T09:00")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| when | Yes | ||
| location | Yes |