Get hourly UV index forecast
get_uv_index_hourlyFetches hourly UV Index forecasts by US ZIP code or city and state, showing local-time EPA bands, the peak hour, and when UV reaches 3+ so users can plan safe outdoor time.
Instructions
Hour by hour UV Index forecast for a US ZIP code or city and state, in the local time of that place, read now from EPA. Returns each hour with its EPA band, the peak hour and the window when UV is 3 or higher. Use it for "when is the sun strongest today" and "what time is safe to be outside" questions.
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_uv_index_hourly"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zip | No | US ZIP code, 5 digits, for example "33101". Use this or city plus state. | |
| city | No | US city name, for example "Phoenix". Needs state. | |
| state | No | Two-letter state code for the city, for example "AZ". |