Restart Home Assistant
system_restart_haRestart Home Assistant after explicit confirmation, causing about 30 seconds of downtime. Use when a config change requires a full restart.
Instructions
Restart Home Assistant after an explicit confirmation.
Calls the homeassistant.restart service, which causes roughly 30
seconds of downtime for the whole instance, including this add-on.
Without confirm=True nothing is restarted; the call only returns a
safety prompt describing how to confirm.
Use when: a config change requires a full restart, e.g. after
system_check_config reports the config is valid.
Not for: a no-downtime reload — use system_reload_all; stopping HA
without restarting it — use system_stop_ha; restarting only Core under
Supervisor — use supervisor_restart_core.
Returns: {"service": "homeassistant.restart", "changed_states": [...]}
when confirmed, otherwise a confirmation prompt.
Errors: returns {"error": "confirmation_required", "message": ..., "action": ...} when confirm is false.
Limits: interrupts Home Assistant for about 30 seconds; requires
confirm=True.
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": "system_restart_ha"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Set true to actually restart HA. False (default) performs no restart and instead returns a confirmation prompt. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||