# delete_task

Delete a task execution.

Agent View of the PolicyLayer registry record for `delete_task`. HTML page: https://policylayer.com/tools/namastexlabs-automagik-tools/delete-task

## Facts

- Tool: `delete_task`
- Server: Automagik Tools (`namastexlabs/automagik-tools`) — https://policylayer.com/tools/namastexlabs-automagik-tools.md
- Homepage: https://github.com/namastexlabs/automagik-tools
- 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_task",
    "arguments": {}
  }
}
```

## Why delete_task is rated Critical

This tool performs an irreversible deletion operation on task execution records. Even though the blast radius may be limited to task records rather than critical data, deletion operations cannot be undone and represent permanent data loss. This places it in the Destructive category, which ranks higher than Execute or Write.

From the tool's own definition: "Tool name is 'delete_task' with description 'Delete a task execution.' The verb 'delete' directly indicates irreversible removal of data."

## Use case

AI agents call delete_task to permanently remove resources in Automagik Tools, 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 Automagik Tools:

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

## Other tools on Automagik Tools (121)

- `delete_agent_conversation` — Destructive — https://policylayer.com/tools/namastexlabs-automagik-tools/delete-agent-conversation.md
- `delete_credential` — Destructive — https://policylayer.com/tools/namastexlabs-automagik-tools/delete-credential.md
- `delete_message` — Destructive — https://policylayer.com/tools/namastexlabs-automagik-tools/delete-message.md
- `delete_schedule` — Destructive — https://policylayer.com/tools/namastexlabs-automagik-tools/delete-schedule.md
- `delete_source` — Destructive — https://policylayer.com/tools/namastexlabs-automagik-tools/delete-source.md
- `delete_team_collaboration` — Destructive — https://policylayer.com/tools/namastexlabs-automagik-tools/delete-team-collaboration.md
- `delete_workflow` — Destructive — https://policylayer.com/tools/namastexlabs-automagik-tools/delete-workflow.md
- `delete_workflow_execution` — Destructive — https://policylayer.com/tools/namastexlabs-automagik-tools/delete-workflow-execution.md
- `end_session` — Destructive — https://policylayer.com/tools/namastexlabs-automagik-tools/end-session.md
- `genie_clear_memories` — Destructive — https://policylayer.com/tools/namastexlabs-automagik-tools/genie-clear-memories.md
- `remove_contact` — Destructive — https://policylayer.com/tools/namastexlabs-automagik-tools/remove-contact.md
- `remove_tool` — Destructive — https://policylayer.com/tools/namastexlabs-automagik-tools/remove-tool.md
- `continue_agent_conversation` — Execute — https://policylayer.com/tools/namastexlabs-automagik-tools/continue-agent-conversation.md
- `execute_workflow` — Execute — https://policylayer.com/tools/namastexlabs-automagik-tools/execute-workflow.md
- `run_workflow` — Execute — https://policylayer.com/tools/namastexlabs-automagik-tools/run-workflow.md
- `send_sticker` — Execute — https://policylayer.com/tools/namastexlabs-automagik-tools/send-sticker.md
- `send_whatsapp` — Execute — https://policylayer.com/tools/namastexlabs-automagik-tools/send-whatsapp.md
- `start_agent_conversation` — Execute — https://policylayer.com/tools/namastexlabs-automagik-tools/start-agent-conversation.md
- `start_google_auth` — Execute — https://policylayer.com/tools/namastexlabs-automagik-tools/start-google-auth.md
- `start_team_collaboration` — Execute — https://policylayer.com/tools/namastexlabs-automagik-tools/start-team-collaboration.md
- `wait_minutes` — Execute — https://policylayer.com/tools/namastexlabs-automagik-tools/wait-minutes.md
- `ask_genie` — Other — https://policylayer.com/tools/namastexlabs-automagik-tools/ask-genie.md
- `consult_gemini` — Other — https://policylayer.com/tools/namastexlabs-automagik-tools/consult-gemini.md
- `manage_instances` — Other — https://policylayer.com/tools/namastexlabs-automagik-tools/manage-instances.md
- `manage_traces` — Other — https://policylayer.com/tools/namastexlabs-automagik-tools/manage-traces.md
- `my_function` — Other — https://policylayer.com/tools/namastexlabs-automagik-tools/my-function.md
- `my_tool` — Other — https://policylayer.com/tools/namastexlabs-automagik-tools/my-tool.md
- `send_audio` — Other — https://policylayer.com/tools/namastexlabs-automagik-tools/send-audio.md
- `send_presence` — Other — https://policylayer.com/tools/namastexlabs-automagik-tools/send-presence.md
- `share_document` — Other — https://policylayer.com/tools/namastexlabs-automagik-tools/share-document.md
- …and 91 more: https://policylayer.com/tools/namastexlabs-automagik-tools.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=namastexlabs-automagik-tools · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/namastexlabs-automagik-tools
