automations_get_last_automation_trace
Fetch the last trace for a Home Assistant automation, with an option to retrieve only failed runs for debugging failures.
Instructions
Shortcut: fetch the most recent trace for an automation in one call.
Use failed_only=True to grab the latest run that didn't finish cleanly —
handy for debugging "why didn't this fire?".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| failed_only | No | ||
| automation_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||