Weather values for a location
get_weatherDaily, monthly or annual values for one location and one or more variables, 1961 to the present.
Monthly and annual values are free. Daily values cost 1 credit per day and variable and need the user's DailyMeteo API key or account (see the server instructions). Results include a summary per variable; series longer than 400 rows are not listed but summarised by year and saved as CSV.
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": {
"lat": "<lat>",
"lon": "<lon>"
},
"name": "get_weather"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Last date, same format | |
| lat | Yes | Latitude in decimal degrees (WGS84) | |
| lon | Yes | Longitude in decimal degrees (WGS84) | |
| dates | No | Individual dates instead of a range, same format | |
| start | No | First date: YYYY-MM-DD (day), YYYY-MM (mon) or YYYY (ann); from 1961 | |
| save_csv | No | Save the table as CSV (long series are always saved) | |
| variables | No | One or more of tmean, tmax, tmin (°C), prcp (mm) | |
| time_scale | No | day, mon (monthly) or ann (annual) | mon |
| confirm_credits | No | Set true only after the user agreed to a day request over 1000 credits |