Complete Task(s)
complete_taskMark tasks as completed in your Dida365 project. Supports batch completion to finish multiple tasks at once.
Instructions
Mark one or more tasks (任务) as completed (已完成). Supports batch completion.
WHEN TO USE:
User finished a task and wants to mark it done (完成任务)
Batch complete multiple related tasks
WHEN NOT TO USE:
Delete a task permanently (删除任务) → use 'delete_task'
Update other task properties (修改任务) → use 'update_task'
REQUIRED (per task):
projectId: Project containing the task (清单ID)
taskId: Task to mark complete (任务ID)
INPUT FORMAT: { "tasks": [{ "projectId": "...", "taskId": "..." }, ...] }
⚠️ IDEMPOTENT: Completing an already-completed or non-existent task returns success. Use 'get_task' first to verify if needed.
⚠️ NOTE: Completed tasks (已完成任务) are no longer returned by 'list_tasks' or 'get_project_data'.
BATCH BEHAVIOR: Non-atomic - some may succeed while others fail. Check summary.failed > 0.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tasks | Yes | Array of tasks to complete |