Delete Tasks
delete_taskMoves one or more tasks to Trash under the board's rule: a task's creator, or someone at the workspace's task-delete floor. Each task refused (not found, not allowed) is listed with the reason. Only the task's creator or a workspace admin can restore it, so the result names the call that brings back the ones the person can restore and says who can restore the rest.
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": {
"taskIds": "<taskIds>"
},
"name": "delete_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | No | Not needed when signed in: these tools act for the signed-in person, and any other ID is refused. Applies only to a workspace connection with no signed-in user. | |
| taskIds | Yes | One to 50 task ids. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| undo | No | The call that reverses this one, with its arguments. | |
| refused | No | ||
| trashed | No | ||
| restoreNote | No | The trashed tasks this person cannot restore, and who can. |