Skip to content

Stop Automation

Tool name: stop-automation

Requests an automation stop; pass confirm=true only after the user explicitly asked to stop it. Requires the current revision. Already dispatched email and external side effects cannot be recalled.

Input schema

automationIdinteger, >= 1required
revisionstring^[a-f0-9]{64}$required
confirmboolean
Default:false
accountIdnull or integer, >= 1
Default:null
Input example
{ "automationId": 1, "revision": "string", "confirm": false, "accountId": null }

Output schema

automationobjectrequired
messagestringrequired
Output example
{ "automation": { "automationId": 0, "name": "string", "revision": "string", "status": "string", "editorUrl": "string", "graph": { "start": 0, "goals": [ 0 ], "states": [ {} ] }, "findings": [ { "actionId": 0, "code": "string", "message": "string", "warning": true, "variantId": 0 } ], "editable": true, "dryRun": true, "settings": {}, "splitTests": [ {} ] }, "message": "string" }