Get Automation Config
ha_config_get_automationFetch an existing Home Assistant automation's stored configuration, validation status, and referenced entities/devices by entity_id or config ID.
Instructions
Get a Home Assistant automation's stored configuration.
config is the body Home Assistant stores, as it stores it; its
config_hash stays the same across reads of an unchanged automation.
entity is the automation's entity registry row, validation holds
Home Assistant's status and error when the automation failed to load
(None when it loaded), and references lists the entities, devices,
areas, floors, labels and blueprint it uses. references is None
without the ha_mcp_tools component's automation_config bridge and
while Home Assistant has not loaded the automation (disabled, or it
failed to load); warnings says which. Without the bridge, related
holds Home Assistant's Related set for the automation instead, keyed
by item type: what it uses plus their devices, areas, floors and
integrations. automation_id is the resolved entity_id, falling back
to the input.
EXAMPLES:
Get automation: ha_config_get_automation("automation.morning_routine")
Get by config id: ha_config_get_automation("1712345678901")
For comprehensive automation documentation, use ha_get_skill_guide.
read inspect fetch view existing automation config triggers conditions actions get show detail
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": {
"entity_id": "<entity_id>"
},
"name": "ha_config_get_automation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes | The automation's entity_id (e.g. 'automation.morning_routine') or its config id |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||