forecast_temperature
Get hourly temperature forecasts with likely ranges for a place in Switzerland. Use it to answer questions like how warm it is at 15:00 or this afternoon.
Instructions
Get the temperature hour by hour at a place, with its likely range.
Use this for "how warm is it at 15:00" or "how warm is it this afternoon". Without end
it returns the one hour starting at start. Each row gives the mean temperature of one
hour, between its from and to times.
Args:
location (str): Name of a place in Switzerland, e.g. "Zürich".
start (str): Start of the period, a full hour, e.g. "2026-09-23T15:00". Today or up to 8 days ahead.
end (str): Optional. End of the period, a full hour after start, e.g. "2026-09-23T18:00".
Returns:
dict: data_from when the forecast point is far away or at a significantly different
height, the place, the model run and per hour: from, to, temperature with its 10th
and 90th percentile. In 8 of 10 possible outcomes, the temperature lies between its
10th and 90th percentile.
Examples:
forecast_temperature("Zürich", "2026-09-23T15:00") # one hour
forecast_temperature("Zürich", "2026-09-23T12:00", "2026-09-23T18:00") # the afternoon
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"location": "<location>",
"start": "<start>"
},
"name": "forecast_temperature"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | 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. | |
| start | Yes | ||
| location | Yes |