Get Task
get_taskRetrieve complete task details: title, description, dates, priority, and sub-tasks. Verify task existence or check status before updates.
Instructions
Retrieve detailed information about a specific task (任务).
WHEN TO USE:
View complete task details (title/标题, description/描述, dates/日期, priority/优先级)
Check task status before updating or completing
Verify a task exists
WHEN NOT TO USE:
List multiple tasks → use 'list_tasks'
Get all tasks in a project (清单) → use 'get_project_data' or 'list_tasks'
REQUIRED: projectId (清单ID), taskId (任务ID)
RESPONSE FIELDS:
content: Description for TEXT tasks (no sub-tasks)
desc: Description for CHECKLIST tasks (with sub-tasks/子任务)
kind: "TEXT" or "CHECKLIST"
items: Sub-task list (子任务列表, CHECKLIST only)
NOTE: When creating/updating, use unified 'description' parameter which auto-maps to the correct field.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | Task ID (任务ID, required) | |
| projectId | Yes | Project ID (清单ID, required) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| desc | No | Task description for CHECKLIST tasks | |
| etag | No | ||
| kind | No | ||
| tags | No | ||
| items | No | ||
| title | Yes | ||
| status | No | ||
| content | No | Task description for TEXT tasks | |
| dueDate | No | ||
| isAllDay | No | ||
| priority | No | ||
| timeZone | No | ||
| projectId | Yes | ||
| reminders | No | ||
| sortOrder | No | ||
| startDate | No | ||
| repeatFlag | No | ||
| completedTime | No |