move_task
Rearrange task hierarchy by moving a task to a new parent or top level. Specify working directory and task ID, optionally define new parent ID for nested organization.
Instructions
Move a task to a different parent in the hierarchy. Set newParentId to move under another task, or leave empty to move to top level. Supports unlimited nesting depth.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
newParentId | No | The ID of the new parent task (optional - leave empty for top level) | |
taskId | Yes | The unique identifier of the task to move | |
workingDirectory | Yes | The full absolute path to the working directory where data is stored. MUST be an absolute path, never relative. Windows: "C:\Users\username\project" or "D:\projects\my-app". Unix/Linux/macOS: "/home/username/project" or "/Users/username/project". Do NOT use: ".", "..", "~", "./folder", "../folder" or any relative paths. Ensure the path exists and is accessible before calling this tool. NOTE: When server is started with --claude flag, this parameter is ignored and a global user directory is used instead. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"newParentId": {
"description": "The ID of the new parent task (optional - leave empty for top level)",
"type": "string"
},
"taskId": {
"description": "The unique identifier of the task to move",
"type": "string"
},
"workingDirectory": {
"description": "The full absolute path to the working directory where data is stored. MUST be an absolute path, never relative. Windows: \"C:\\Users\\username\\project\" or \"D:\\projects\\my-app\". Unix/Linux/macOS: \"/home/username/project\" or \"/Users/username/project\". Do NOT use: \".\", \"..\", \"~\", \"./folder\", \"../folder\" or any relative paths. Ensure the path exists and is accessible before calling this tool. NOTE: When server is started with --claude flag, this parameter is ignored and a global user directory is used instead.",
"type": "string"
}
},
"required": [
"workingDirectory",
"taskId"
],
"type": "object"
}