get_automation
Retrieve a single Home Assistant automation by ID to inspect its live state and attributes. Fetch raw YAML triggers, conditions, and actions with the YAML variant.
Instructions
Get a single automation by id (e.g. 'solaredge_power_notify').
Returns live state + attributes. Use get_automation_yaml for the raw
YAML config (triggers / conditions / actions).
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": "get_automation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| automation_id | Yes |