measurements_current
Retrieve current weather measurements from a MeteoSwiss station near a place to answer 'how warm is it now' or 'is it raining now'.
Instructions
Get the latest measurements of a MeteoSwiss station near a place.
Use this for "how warm is it now" or "is it raining now". The values are those of the
station named in data_from; without data_from, the station is next to the place.
MeteoSwiss publishes new values about every 10 minutes. When a station of the SLF, the
WSL Institute for Snow and Avalanche Research, is closer to the place in distance and
height, mostly in the mountains, slf_station adds its temperature, humidity and wind
over the last 30 minutes, with its own data_from. For each data_from, always say which
station the values come from, how far away it is and how much higher or lower. When
slf_station is there, give its values first, as they come from the closer station.
Args:
location (str): Name of a place in Switzerland, e.g. "Zürich".
Returns:
dict: data_from when the station is not next to the place, the place, the time of the
measurements, temperature, humidity, dew point and sea-level pressure; wind speed, gust
and direction of the last 10 minutes; rain and sunshine of the last 10 minutes and the
last hour; strongest gust of the last hour; temperature and pressure change over 3
hours. A value is None when the station has not published it. slf_station, only when
an SLF station is closer: its data_from, time, temperature, humidity, wind speed,
direction and gust over 30 minutes, and the snow surface temperature, None with less
than 10 cm of snow.
Examples:
measurements_current("Zürich")
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>"
},
"name": "measurements_current"
}
}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. | |
| location | Yes |