Sign in to run requests with your own sandbox key. Sign in

MCP tool

cascades_delete_workflow

destructive workflows:write

Delete a cascade (soft-delete). Afterwards it no longer appears in cascades_list_workflows and cannot be triggered. Requires the workflows:write scope; only cascades owned by the API key's account can be deleted. Confirm with the user before deleting.

REST operation

This tool makes one call: DELETE /api/v1/workflows/{id} — see deleteWorkflow in the API reference for the full response schema and error codes.

Input schema

ArgumentTypeDescription
workflow_id required integer Workflow id. Only workflows owned by the token's account resolve; a foreign or deleted id returns `404`.
environment string Target environment: "prod" (default) or "dev".
One of: dev prod

Example

What the model sends, and the JSON the tool returns (the REST response, verbatim).

Call
{
  "name": "cascades_delete_workflow",
  "arguments": {
    "workflow_id": 158
  }
}
Result
{
  "deleted": true,
  "id": 158
}

Other tools