Restart HA Core
supervisor_restart_coreRestart Home Assistant Core via the Supervisor after explicit confirmation. Use for Supervisor-managed installations; requires confirm=True and interrupts Core until restart completes.
Instructions
Restart Home Assistant Core through the Supervisor after an explicit confirmation.
Calls POST /core/restart. WARNING: causes downtime for HA Core (and
everything depending on it) until it comes back up. Without
confirm=True nothing is restarted.
Use when: Core needs restarting on a Supervisor install specifically.
Not for: the equivalent call via HA's own service — use
system_restart_ha; for rebooting the whole host — use
supervisor_restart_host.
Returns: Supervisor's restart-job result when confirmed.
Errors: returns {"error": "confirmation_required", "message": ..., "action": ...} when confirm is false; {"error": "SUPERVISOR_TOKEN not set — Nexus must run as HA add-on for Supervisor API"} when the
token env var is missing.
Limits: requires confirm=True; interrupts Core until it restarts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Set true to actually restart Core. False (default) performs no action. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||