remove_task
Delete a task or subtask permanently from the tasks list using its ID. Specify the project directory and optionally skip confirmation prompts for quick removal.
Instructions
Remove a task or subtask permanently from the tasks list
Input Schema
Name | Required | Description | Default |
---|---|---|---|
confirm | No | Whether to skip confirmation prompt (default: false) | |
file | No | Absolute path to the tasks file | |
id | Yes | ID of the task or subtask to remove (e.g., '5' or '5.2'). Can be comma-separated to update multiple tasks/subtasks at once. | |
projectRoot | Yes | The directory of the project. Must be an absolute path. | |
tag | No | Specify which tag context to operate on. Defaults to the current active tag. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"confirm": {
"description": "Whether to skip confirmation prompt (default: false)",
"type": "boolean"
},
"file": {
"description": "Absolute path to the tasks file",
"type": "string"
},
"id": {
"description": "ID of the task or subtask to remove (e.g., '5' or '5.2'). Can be comma-separated to update multiple tasks/subtasks at once.",
"type": "string"
},
"projectRoot": {
"description": "The directory of the project. Must be an absolute path.",
"type": "string"
},
"tag": {
"description": "Specify which tag context to operate on. Defaults to the current active tag.",
"type": "string"
}
},
"required": [
"id",
"projectRoot"
],
"type": "object"
}