delete_task
Remove a task by its UID, sending it to the calendar trash for recovery within the retention period.
Instructions
Delete a task by its UID.
The task is moved to the calendar trashbin and can be restored from the Nextcloud web interface within the retention period.
Args: list_id: Task list identifier (e.g. "tasks"). task_uid: The task's UID to delete. Use get_tasks to find UIDs.
Returns: Confirmation message.
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": {
"list_id": "<list_id>",
"task_uid": "<task_uid>"
},
"name": "delete_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| list_id | Yes | ||
| task_uid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |