> ## Documentation Index
> Fetch the complete documentation index at: https://docs.thena.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete workflow

> MCP tool to delete a workflow from the Thena platform.

import Admonition from '@theme/Admonition';

### MCP tool: `delete_workflow`

Deletes a workflow from the Thena platform. This action is permanent and will remove the workflow along with its associated data.

<Admonition type="note">
  You must provide the workflow unique identifier to delete the specific workflow. This action is irreversible.
</Admonition>

### Example prompt

```prompt theme={null}
Delete workflow with unique identifier "ticket-escalation-workflow"
```

<Admonition type="info">
  When you use this prompt in a chat with the model (with the MCP tool registered), the model will automatically call the <code>delete\_workflow</code> tool with the correct arguments.
</Admonition>

### Input parameters

| Name                     | Type   | Required | Description                                     |
| ------------------------ | ------ | -------- | ----------------------------------------------- |
| workflowUniqueIdentifier | string | Yes      | The unique identifier of the workflow to delete |

### Response fields

The response will be a simple success message indicating the workflow was deleted.

### Sample response

```json theme={null}
{
  "content": [
    {
      "type": "text",
      "text": "Workflow deleted successfully"
    }
  ]
}
```

<Admonition type="tip">
  Always pass an object as input, even if empty, to avoid errors when calling the tool directly.
</Admonition>

<Admonition type="warning">
  This tool permanently deletes workflows and their associated data. This action cannot be undone. Ensure you have the correct workflow unique identifier before proceeding.
</Admonition>

***
