Move a task
move_taskRearrange tasks by moving them under a new parent, after a sibling, or into another list. Specify only the fields you need to set hierarchy or order.
Instructions
Moves a task: under a parent (subtask), after a sibling (previous), and/or into another list (destination_tasklist). Omitting parent puts it at the top level; omitting previous puts it first among its siblings — so calling with neither moves the task to the very top of its list. This is the ONLY way to change hierarchy or order (parent/position are read-only fields; positions are opaque strings maintained by the API). Constraints: parent and previous must be in the task's (destination) list; assigned tasks and recurrent tasks cannot be moved between lists. Returns the task with its new position.
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": {
"tasklist_id": "<tasklist_id>",
"task_id": "<task_id>"
},
"name": "move_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parent | No | New parent task id — the task becomes its subtask. Omit for the top level. | |
| task_id | Yes | The task id — from list_tasks, get_task or create_task output. | |
| previous | No | Sibling task id to place the task after (same parent). Omit for the first position. | |
| tasklist_id | Yes | The task list id — from list_tasklists or create_tasklist output. "@default" addresses the user's default list. | |
| destination_tasklist | No | Move the task into this other task list. |