Get Forecasts
get_forecastsFetch swimming forecasts for multiple Swiss cities at once, returning current water temperature, 2-hour outlook, and trend for each location.
Instructions
Get forecasts for multiple cities.
Fetches all forecasts concurrently.
Args:
cities: List of city identifiers (e.g., ['Bern', 'Thun'])
Returns: Dictionary mapping city names to forecast data: - forecasts (dict): Map of city to forecast data with current temp, 2-hour forecast, and trend
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": {
"cities": "<cities>"
},
"name": "get_forecasts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cities | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||