Tools / weather.forecast

Daily forecast

weather.forecast

Daily forecast up to 16 days: highs, lows, rain chance, wind, sunrise and sunset.

LocationLaunch set1 unit per call30 min cacheMCP: weather_forecastv1.0.0

When to use it

Use for questions about future weather at a place, such as 'will it rain on Friday' or 'what should I pack for next week'. Use weather.current for right now.

Input

FieldTypeDescription
locationstring (2+ chars, ≤ 200 chars)Place name such as 'Tokyo' or 'Austin, TX'. Use instead of latitude and longitude.
latitudenumber (≥ -90, ≤ 90)Decimal latitude, -90 to 90.
longitudenumber (≥ -180, ≤ 180)Decimal longitude, -180 to 180.
daysinteger (≥ 1, ≤ 16)Number of days, 1 to 16. Default: 7.
unitsone of metric, imperialmetric (°C, km/h, mm) or imperial (°F, mph, in). Default: "metric".

Output

Returns data with: location, timezone, days: [{date, condition, weather_code, temp_max, temp_min, precipitation_sum, precipitation_probability_max, wind_speed_max, sunrise, sunset}], units.

Request

curl -X POST https://agentops.tools/v1/weather.forecast \
  -H 'content-type: application/json' \
  -d '{"location":"Lisbon","days":3}'

Over MCP the tool is named weather_forecast. Over A2A its skill id is weather.forecast. Same input, same envelope.

Try it

Counts against your rate limit.

Sources

Weather data by Open-Meteo.com (CC BY 4.0)