update_task
Modify task properties such as title, description, status, and recommendations for tools or rules. Ensure completed details are provided when marking tasks as done. Follow valid status transitions: not started → in progress → done.
Instructions
Modify a task's properties. Note: (1) completedDetails are required when setting status to 'done', (2) approved tasks cannot be modified, (3) status must follow valid transitions: not started → in progress → done. You can also update tool and rule recommendations to guide task completion.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
completedDetails | No | Details about the task completion (required if status is set to 'done'). | |
description | No | The new description for the task (optional). | |
projectId | Yes | The ID of the project containing the task (e.g., proj-1). | |
ruleRecommendations | No | Recommendations for relevant rules to review when completing the task. | |
status | No | The new status for the task (optional). | |
taskId | Yes | The ID of the task to update (e.g., task-1). | |
title | No | The new title for the task (optional). | |
toolRecommendations | No | Recommendations for tools to use to complete the task. |
Input Schema (JSON Schema)
{
"properties": {
"completedDetails": {
"description": "Details about the task completion (required if status is set to 'done').",
"type": "string"
},
"description": {
"description": "The new description for the task (optional).",
"type": "string"
},
"projectId": {
"description": "The ID of the project containing the task (e.g., proj-1).",
"type": "string"
},
"ruleRecommendations": {
"description": "Recommendations for relevant rules to review when completing the task.",
"type": "string"
},
"status": {
"description": "The new status for the task (optional).",
"enum": [
"not started",
"in progress",
"done"
],
"type": "string"
},
"taskId": {
"description": "The ID of the task to update (e.g., task-1).",
"type": "string"
},
"title": {
"description": "The new title for the task (optional).",
"type": "string"
},
"toolRecommendations": {
"description": "Recommendations for tools to use to complete the task.",
"type": "string"
}
},
"required": [
"projectId",
"taskId"
],
"type": "object"
}