# delete_workflow

Hapus workflow dari n8n secara permanen.

Agent View of the PolicyLayer registry record for `delete_workflow`. HTML page: https://policylayer.com/tools/andhit-r-n8n-mcp/delete-workflow

## Facts

- Tool: `delete_workflow`
- Server: n8n MCP Server (`andhit-r/n8n-mcp`) — https://policylayer.com/tools/andhit-r-n8n-mcp.md
- Homepage: https://github.com/andhit-r/n8n-mcp
- Risk category: Destructive (Critical risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Hidden

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "delete_workflow",
    "arguments": {}
  }
}
```

## Why delete_workflow is rated Critical

This tool permanently deletes a workflow, which cannot be undone. Deletion is irreversible data destruction, fitting the Destructive category. Severity is high because losing a workflow could disrupt business processes, though it does not directly affect financial systems or involve code execution. Confidence is high due to explicit 'permanent' language in the description.

From the tool's own definition: "Tool description states 'Hapus workflow dari n8n secara permanen' (Delete workflow from n8n permanently). The word 'permanen' (permanent) and the tool name 'delete_workflow' indicate irreversible deletion of data."

## Use case

AI agents call delete_workflow to permanently remove resources in n8n MCP Server, typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.

## Recommended policy (PolicyLayer)

Verdict: **Hidden**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches n8n MCP Server:

```json
{
  "version": "1",
  "default": "deny",
  "hide": [
    "delete_workflow"
  ]
}
```

## Other tools on n8n MCP Server (21)

- `delete_credential` — Destructive — https://policylayer.com/tools/andhit-r-n8n-mcp/delete-credential.md
- `delete_execution` — Destructive — https://policylayer.com/tools/andhit-r-n8n-mcp/delete-execution.md
- `delete_tag` — Destructive — https://policylayer.com/tools/andhit-r-n8n-mcp/delete-tag.md
- `delete_variable` — Destructive — https://policylayer.com/tools/andhit-r-n8n-mcp/delete-variable.md
- `activate_workflow` — Execute — https://policylayer.com/tools/andhit-r-n8n-mcp/activate-workflow.md
- `deactivate_workflow` — Read — https://policylayer.com/tools/andhit-r-n8n-mcp/deactivate-workflow.md
- `get_audit_log` — Read — https://policylayer.com/tools/andhit-r-n8n-mcp/get-audit-log.md
- `get_credential` — Read — https://policylayer.com/tools/andhit-r-n8n-mcp/get-credential.md
- `get_execution` — Read — https://policylayer.com/tools/andhit-r-n8n-mcp/get-execution.md
- `get_workflow` — Read — https://policylayer.com/tools/andhit-r-n8n-mcp/get-workflow.md
- `list_credentials` — Read — https://policylayer.com/tools/andhit-r-n8n-mcp/list-credentials.md
- `list_executions` — Read — https://policylayer.com/tools/andhit-r-n8n-mcp/list-executions.md
- `list_tags` — Read — https://policylayer.com/tools/andhit-r-n8n-mcp/list-tags.md
- `list_variables` — Read — https://policylayer.com/tools/andhit-r-n8n-mcp/list-variables.md
- `list_workflows` — Read — https://policylayer.com/tools/andhit-r-n8n-mcp/list-workflows.md
- `create_credential` — Write — https://policylayer.com/tools/andhit-r-n8n-mcp/create-credential.md
- `create_tag` — Write — https://policylayer.com/tools/andhit-r-n8n-mcp/create-tag.md
- `create_variable` — Write — https://policylayer.com/tools/andhit-r-n8n-mcp/create-variable.md
- `create_workflow` — Write — https://policylayer.com/tools/andhit-r-n8n-mcp/create-workflow.md
- `update_tag` — Write — https://policylayer.com/tools/andhit-r-n8n-mcp/update-tag.md
- `update_workflow` — Write — https://policylayer.com/tools/andhit-r-n8n-mcp/update-workflow.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=andhit-r-n8n-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/andhit-r-n8n-mcp
