move_task
Relocate tasks or subtasks within Task Master by specifying source and destination IDs. Supports batch moves and custom file paths for efficient task management in AI-driven projects.
Instructions
Move a task or subtask to a new position
Input Schema
Name | Required | Description | Default |
---|---|---|---|
file | No | Custom path to tasks.json file | |
from | Yes | ID of the task/subtask to move (e.g., "5" or "5.2"). Can be comma-separated to move multiple tasks (e.g., "5,6,7") | |
projectRoot | Yes | Root directory of the project (typically derived from session) | |
tag | No | Tag context to operate on | |
to | Yes | ID of the destination (e.g., "7" or "7.3"). Must match the number of source IDs if comma-separated |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"file": {
"description": "Custom path to tasks.json file",
"type": "string"
},
"from": {
"description": "ID of the task/subtask to move (e.g., \"5\" or \"5.2\"). Can be comma-separated to move multiple tasks (e.g., \"5,6,7\")",
"type": "string"
},
"projectRoot": {
"description": "Root directory of the project (typically derived from session)",
"type": "string"
},
"tag": {
"description": "Tag context to operate on",
"type": "string"
},
"to": {
"description": "ID of the destination (e.g., \"7\" or \"7.3\"). Must match the number of source IDs if comma-separated",
"type": "string"
}
},
"required": [
"from",
"to",
"projectRoot"
],
"type": "object"
}