{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Changes the execution status of a workflow instance (e.g., pause, resume, terminate).","properties":{"path":{"type":"object","properties":{"workflow_name":{"type":"string","maxLength":64,"minLength":1,"pattern":"^[a-zA-Z0-9_][a-zA-Z0-9-_]*$"},"instance_id":{"type":"string","maxLength":271,"minLength":1,"description":"Instance identifier. User-created instances match `^[a-zA-Z0-9_][a-zA-Z0-9-_]*$` (max 100 characters); cron-triggered instances can use a longer, system-generated id derived from the cron expression."},"account_id":{"type":"string"}},"required":["workflow_name","instance_id","account_id"],"additionalProperties":false},"body":{"oneOf":[{"properties":{"status":{"type":"string","enum":["pause"]}},"required":["status"],"type":"object"},{"properties":{"status":{"type":"string","enum":["resume"]}},"required":["status"],"type":"object"},{"properties":{"rollback":{"description":"Run rollback before terminating.","type":"boolean"},"status":{"type":"string","enum":["terminate"]}},"required":["status"],"type":"object"},{"properties":{"from":{"description":"Step to restart from.","type":"object","properties":{"count":{"type":"integer","maximum":9007199254740991,"exclusiveMinimum":0},"name":{"type":"string","maxLength":256,"minLength":1},"type":{"type":"string","enum":["do","sleep","waitForEvent"]}},"required":["name"]},"status":{"type":"string","enum":["restart"]}},"required":["status"],"type":"object"}]}},"required":["path","body"],"additionalProperties":false},"name":"Change status of instance","id":"cloudflare.wor-change-status-workflow-instance","example":{"path":{"workflow_name":"example","instance_id":"example","account_id":"example"},"body":{"status":"pause"}},"maxRequests":1,"summary":false}}