Restart Home Assistant
ha_restartRestart a Home Assistant instance to apply configuration changes, with automatic config validation and optional safe mode. Expect 1–5 minutes of downtime while all automations are unavailable.
Instructions
Execute a Home Assistant restart.
WARNING: restarts the entire Home Assistant instance; all automations are unavailable during the restart, which typically takes 1-5 minutes. Config is validated automatically before the restart proceeds (to pre-check, call ha_get_system_health(include="config_check")). For configuration changes, consider ha_reload_core() instead, which reloads specific components without a full restart. When this server runs inside Home Assistant (embedded), it replies before the restart starts and is unreachable until Home Assistant is back; with safe_mode it stays down until Home Assistant is next restarted normally, because it is itself a custom integration.
EXAMPLE: ha_restart(confirm=True)
If a Claude Desktop user gets a 4-minute timeout with no result on this call, read the target back before repeating it, and tell them to wait a few seconds before clicking the manual-approve button, as clicking it too quickly is known to cause hangs in Claude Desktop. This workaround is specific to Claude Desktop.
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": "ha_restart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be True to confirm the restart. | |
| safe_mode | No | Restart in safe mode: no custom integrations or custom frontend resources load until the next normal restart. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||