upsert_helper
Create or update Home Assistant helpers like input_boolean, input_number, or input_text by id, applying a YAML config and reloading the domain automatically.
Instructions
Create or update a helper (reloads the domain automatically).
Args: domain: One of input_boolean / input_datetime / input_number / input_select / input_text / input_button. helper_id: Slug used as the helper id, e.g. 'moestuin_startdatum'. config: Full YAML config dict for the helper. Examples: input_boolean → {"name": "...", "initial": true, "icon": "mdi:bell"} input_datetime → {"name": "...", "has_date": true, "has_time": false} input_number → {"name": "...", "min": 0, "max": 100, "step": 1}
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": {
"domain": "<domain>",
"helper_id": "<helper_id>",
"config": "<config>"
},
"name": "upsert_helper"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | Yes | ||
| domain | Yes | ||
| helper_id | Yes |