Set add-on options
supervisor_set_addon_optionsOverwrite a Home Assistant add-on's stored options with a full configuration object for programmatic changes; include every existing key and restart the add-on to apply.
Instructions
Replace an add-on's stored options with the given object.
Reads the stored options, then calls POST /addons/<slug>/options as
{"options": options}. Overwrites all options, so send the full dict
read via supervisor_get_addon. A secret left as the placeholder is
swapped for the stored value (a list holding one must keep its order
and length); a Supervisor error then drops detail. Refuses nexus's
own add-on. Unless the nexus option addon_exec_options_enabled is on,
also refuses to add, change or remove an option that runs code in the
add-on (a key named like commands, scripts, packages, plugins, env vars
or authorized_keys, at any depth); send those back as read and the
other options still change.
Use when: changing an add-on's configuration programmatically.
Not for: reading the current options first — use
supervisor_get_addon; for changing nexus's own configuration — use the
Home Assistant Supervisor UI instead.
Returns: Supervisor's options-update result.
Errors: invalid_slug; self_addon_options_blocked;
addon_exec_option_blocked (with keys); addon_options_unverifiable
when the stored options can't be read; redaction_marker_list_length_mismatch;
SUPERVISOR_TOKEN not set; HTTP <status> on schema validation.
Limits: does not apply until the add-on is restarted.
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": {
"slug": "<slug>",
"options": "<options>"
},
"name": "supervisor_set_addon_options"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Add-on slug whose options to set, e.g. from `supervisor_list_addons`. | |
| options | Yes | Full options object to store, validated by Supervisor against the add-on's schema. Any field read via `supervisor_get_addon` and left out here is not preserved automatically — include the whole dict, not just changed keys. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||