weather_forecast_hours
Retrieve hourly weather forecasts for any location using latitude and longitude, with support for up to 240 hours, multiple unit systems, and language options.
Instructions
Google Weather API: up to 240 hours of hourly forecast. See https://developers.google.com/maps/documentation/weather/hourly-forecast
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": {
"latitude": "<latitude>",
"longitude": "<longitude>"
},
"name": "weather_forecast_hours"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | ||
| latitude | Yes | ||
| pageSize | No | ||
| longitude | Yes | ||
| pageToken | No | ||
| unitsSystem | No | ||
| languageCode | No |