Tool reference
Update safely
- Call
get_automationand inspect its current definition and version. - Prepare the complete replacement definition, retaining section/step IDs where their meaning is unchanged.
- Call
test_automationwith the proposed definition and representative payloads. Review test-mode behavior. - Re-read before updating to detect edits made by another operator. The current update tool does not accept an expected-version precondition; re-reading alone is not a concurrency lock. Coordinate edits.
- Call
update_automation, inspect the stored result, and activate only when ready for live events.
definition with the complete { "sections": [...] } object. An update with definition replaces the definition; it is not a partial patch of one step.
Preserve the caller’s URL
Example arguments forset_automation_trigger_route:
entryKind: "channel" and allRequests: true, with a channel-status section on the destination automation. This can be a different automation from the webhook destination. Review routing behavior before changing an active trigger.