delete_task
Delete a ClickUp task by ID. Raises a 404 error if the task does not exist instead of falsely confirming deletion.
Instructions
Delete a task by ID.
If the task does not exist, a ClickUpError (404) is raised rather than pretending the deletion succeeded.
Args: task_id: The task ID to delete.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"task_id": "<task_id>"
},
"name": "delete_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes |