Delete automation
ha_delete_automationDelete a Home Assistant automation by its unique ID. Requires write and config-write permissions, with an optional instance check to prevent changes in the wrong home.
Instructions
Delete an automation by its unique id. Requires HA_ALLOW_WRITE=true and HA_ALLOW_CONFIG_WRITE=true.
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": {
"automation_id": "<automation_id>"
},
"name": "ha_delete_automation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance_id | No | Optional: the instance you mean (as listed by vomehome_list_instances). When given, the call is refused if this session is targeting a different home, instead of answering from it. | |
| automation_id | Yes | Unique id of the automation to delete. |