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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workingDirectory": "<workingDirectory>",
"taskId": "<taskId>"
},
"name": "move_task"
}
}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. |