Get Script Config
ha_config_get_scriptRetrieve the complete configuration of a Home Assistant script, including sequence, mode, fields, and other settings, using the script ID.
Instructions
Retrieve Home Assistant script configuration.
Returns the complete configuration for a script, including sequence, mode, fields, and other settings.
The returned config_hash is stable across consecutive reads of an unchanged config — compute_config_hash documents the underlying contract.
The returned script_id is the canonical bare storage key resolved by the REST client (matching what ha_config_set_script / ha_config_remove_script expect), falling back to the input identifier on the rare path where the REST envelope omits it. A leading script. prefix on the input is stripped before lookup — behavioral parity with ha_config_get_automation (mechanism differs: automations resolve via state lookup; scripts strip the prefix).
EXAMPLES:
Get script (bare form): ha_config_get_script("morning_routine")
Get script (entity_id form): ha_config_get_script("script.morning_routine")
For detailed script configuration help, use ha_get_skill_guide.
read inspect fetch view existing script config sequence actions get show detail
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script_id | Yes | Script identifier — bare storage key ('morning_routine') or entity_id form ('script.morning_routine'); a leading 'script.' prefix is stripped before lookup. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||