delete
Move a task to the 30-day trash or remove an empty project; restore a trashed task by ID.
Instructions
Delete a task (kept in the trash 30 days) or an empty project. Confirm first. restore= brings a deleted task back.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | ||
| project | No | path or id | |
| restore | No | id of a deleted task |