Get weather forecast
get_forecastRetrieve daily, hourly, or twice-daily forecasts from a Home Assistant weather entity to support planning and automation decisions.
Instructions
Daily, hourly or twice-daily forecast from a weather entity.
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": {
"entity_id": "<entity_id>"
},
"name": "get_forecast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | daily | |
| entity_id | Yes | Weather entity such as weather.home. | |
| max_items | No |