get_weather
Retrieve current weather conditions and 1–7 day forecasts for any city or coordinates worldwide. Use for weather queries, trip planning, and location-based decisions.
Instructions
Get current weather conditions (temperature, humidity, wind speed, weather code) and multi-day daily forecasts for any city or geographic location worldwide via Open-Meteo. Use when answering weather queries or trip planning. Read-only and idempotent.
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": "get_weather"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location | Yes | City name (e.g. 'Tokyo', 'London', 'San Francisco') or comma-separated latitude,longitude. | |
| forecast_days | No | Number of forecast days to return (integer between 1 and 7, default 3). |