complete_task
Mark a Nextcloud task as completed, setting its status to COMPLETED and progress to 100%, with timestamp. Pass etag to avoid conflicts.
Instructions
Mark a task as completed.
Sets the task's status to COMPLETED, percent-complete to 100, and records the completion timestamp. No-ops if already completed.
For optimistic locking, pass the etag from a previous get_task call.
Args: list_id: Task list identifier (e.g. "tasks"). task_uid: The task's UID to complete. Use get_tasks to find UIDs. etag: Optional ETag from a previous read for optimistic locking.
Returns: Confirmation message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| etag | No | ||
| list_id | Yes | ||
| task_uid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |