Start a script
automations_run_scriptStart a Home Assistant script and return immediately without waiting for it to finish. Use when you only need to trigger a script, not get its result.
Instructions
Start a script and return immediately without waiting for it to finish.
Calls the script.turn_on service with entity_id and, when given,
variables as the script's fields; the call returns as soon as Home
Assistant accepts it and does not return the script's response
variables.
Not for: getting the script's result — this tool never returns it,
regardless of the script's own response_variable.
Returns: list[dict], the raw script.turn_on service-call response.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes | Full script entity ID to start, e.g. 'script.goodnight'. | |
| variables | No | Values passed as the script's input fields. Omit to run with no variables. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |