# veryfront__delete_task

Delete the source file of a task that is no longer needed; returns the acknowledgement ok: true. Requires project.runs.write.

Risk: mutating.

## Arguments

| Name                 | Type   | Required | Description                                                           |
| -------------------- | ------ | -------- | --------------------------------------------------------------------- |
| `project_reference`  | string |          | Project ID or slug that owns the task.                                |
| `task_id`            | string | Yes      | Existing task identifier to delete.                                   |
| `source_target_kind` | string |          | Source to write: project or preview\_branch. Defaults to project.     |
| `target_branch_id`   |        |          | Preview branch to write when source\_target\_kind is preview\_branch. |

## Call it

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__delete_task",
    "arguments": {
      "task_id": "<task_id>"
    }
  }
}
```
