Weather forecast
get_weatherWeather forecast from MET Norway for coordinates or a city: current temperature, symbol, wind, humidity and next-hour precipitation, 24 hourly steps and 7 daily summaries (low, high, precipitation). Values are SI (°C, m/s, mm). This tool calls MET Norway's public API (cached); credit "Weather data from MET Norway" when you show the data.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_weather"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tz | No | IANA time zone for local times and daily grouping. Default: the city's zone, or UTC with coordinates. | |
| lat | No | Latitude in decimal degrees, north positive (−90 to 90). Use with lon, instead of city. | |
| lon | No | Longitude in decimal degrees, east positive (−180 to 180). Use with lat, instead of city. | |
| city | No | City instead of coordinates: a city slug of clockcrest.com (e.g. new-york) or a name looked up in the city index (e.g. Oslo, القاهرة) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| daily | Yes | Up to 7 local dates, today first | |
| notes | Yes | Caveats and conventions that apply to this response. | |
| units | Yes | ||
| hourly | Yes | Up to 24 hourly steps from the current hour on | |
| source | Yes | Where the data or the algorithm comes from. | |
| current | Yes | ||
| expires | Yes | Until when this forecast is reused (MET Norway's Expires, at least 10 minutes) | |
| license | Yes | ||
| updated | Yes | When MET Norway last updated this forecast | |
| location | Yes | ||
| sourceUrl | Yes | ||
| licenseUrl | Yes | ||
| attribution | Yes | Credit line to show with the data |