Update Task(s)
update_taskModify task details in Dida365: update title, dates, priority, sub-tasks, and reminders. Supports batch updates with individual success reporting.
Instructions
Update one or more existing tasks (任务). Supports batch updates.
WHEN TO USE:
Modify task title (标题), description (描述), dates (日期), or priority (优先级)
Change due date (截止日期) or add reminders (提醒)
Add/update sub-tasks (子任务/检查项)
Reschedule or reprioritize tasks
REQUIRED (per task):
taskId: Task to update (任务ID)
projectId: Project containing the task (清单ID)
OPTIONAL (only provided fields are updated):
title: New task title (新标题)
description: New notes (新描述, auto-maps to correct field)
dueDate: ISO 8601 format (截止日期, e.g., "2025-11-25T17:00:00+0800")
startDate: ISO 8601 format (开始日期)
priority: 0=none (无), 1=low (低), 3=medium (中), 5=high (高)
isAllDay: true for all-day tasks (全天任务)
reminders: ["TRIGGER:PT0S"] (提醒)
repeatFlag: Recurrence rule (重复规则)
items: Sub-task array (子任务列表) [{title, status: 0|1}]
INPUT FORMAT: { "tasks": [{ "taskId": "...", "projectId": "...", ...updates }, ...] }
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 update |