Get UV index today
get_uv_index_todayFetch today’s UV Index for a US ZIP code or city and state, including EPA category, protection advice, UV alerts, hourly peak, and hours when UV reaches 3 or higher.
Instructions
Today's UV Index forecast for a US ZIP code or city and state, read now from EPA (the NWS daily forecast). Returns the UV Index, the EPA category and sun protection advice, whether a UV Alert is in effect, the hourly peak and the local hours when UV is 3 or higher. Your training data cannot know today's UV Index.
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_today"
}
}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". |