MCP Tool: toggle_workflow

Activates or deactivates a workflow by toggling its active status. This tool allows you to enable or disable workflows without deleting them, providing a way to temporarily pause workflow execution.

Example Prompt

Deactivate workflow "ticket-escalation-workflow"

Input Parameters

NameTypeRequiredDescription
workflowUniqueIdentifierstringYesThe unique identifier of the workflow to toggle
isActivebooleanYesWhether to activate (true) or deactivate (false) the workflow

Response Fields

The response will be a simple success message indicating the workflow was activated or deactivated.

Sample Response

{
  "content": [
    {
      "type": "text",
      "text": "Workflow deactivated successfully"
    }
  ]
}