update_task
Update details of an existing Microsoft To Do task, such as title, due date, or status, by specifying the task ID and new values.
Instructions
更新 Microsoft To Do 中现有的任务 (UTC+8)。
参数: task_id (str): 待更新任务的唯一 ID。 title (str, 可选): 新标题。 body (str, 可选): 新内容描述。 body_type (str, 可选): 'text' 或 'html'。 categories (List[str], 可选): 新分类列表。 due_date (str, 可选): 新截止日期 (ISO 8601)。必须是东八区本地时间 (UTC+8)。 start_date (str, 可选): 新开始日期 (ISO 8601)。必须是东八区本地时间 (UTC+8)。 reminder_date (str, 可选): 新提醒日期 (ISO 8601)。必须是东八区本地时间 (UTC+8)。 importance (str, 可选): 'low', 'normal', 'high'。 status (str, 可选): 'notStarted', 'inProgress', 'completed' 等。 completed_date (str, 可选): 新完成日期 (ISO 8601)。必须是东八区本地时间 (UTC+8)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| title | No | ||
| status | No | ||
| task_id | Yes | ||
| due_date | No | ||
| body_type | No | text | |
| categories | No | ||
| importance | No | ||
| start_date | No | ||
| reminder_date | No | ||
| completed_date | No |