measurements_current
Check how warm it is or whether it is raining now by retrieving current MeteoSwiss station measurements for a place in Switzerland.
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. MeteoSwiss publishes new values about every 10 minutes.
Args:
location (str): Name of a place in Switzerland, e.g. "Zürich".
Returns:
dict: data_from, the place, the time of the measurements and the measured values. A
value is None when the station has not published it.
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 |