remove_subtask
Remove a subtask from its parent task or convert it to a standalone task using the provided subtask ID and project directory. Simplify task management in AI-driven development workflows.
Instructions
Remove a subtask from its parent task
Input Schema
Name | Required | Description | Default |
---|---|---|---|
convert | No | Convert the subtask to a standalone task instead of deleting it | |
file | No | Absolute path to the tasks file (default: tasks/tasks.json) | |
id | Yes | Subtask ID to remove in format 'parentId.subtaskId' (required) | |
projectRoot | Yes | The directory of the project. Must be an absolute path. | |
skipGenerate | No | Skip regenerating task files | |
tag | No | Tag context to operate on |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"convert": {
"description": "Convert the subtask to a standalone task instead of deleting it",
"type": "boolean"
},
"file": {
"description": "Absolute path to the tasks file (default: tasks/tasks.json)",
"type": "string"
},
"id": {
"description": "Subtask ID to remove in format 'parentId.subtaskId' (required)",
"type": "string"
},
"projectRoot": {
"description": "The directory of the project. Must be an absolute path.",
"type": "string"
},
"skipGenerate": {
"description": "Skip regenerating task files",
"type": "boolean"
},
"tag": {
"description": "Tag context to operate on",
"type": "string"
}
},
"required": [
"id",
"projectRoot"
],
"type": "object"
}