reorder-objects
Reorder Todoist projects and sections by position, and move personal projects to a new parent or root. Sets sibling order and hierarchy changes in one call.
Instructions
Reorder projects or sections, and optionally move personal projects to a new parent. Personal projects: order places a project among its siblings; parentId moves it ("root" for top level). Workspace projects: order places a project within its folder, in the shared default ordering every member sees; needs permission to reorder the workspace. Sections: order places a section within its project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | "project": personal projects among the siblings under their parent, or workspace projects within their folder. "section": sections within their project. | |
| items | Yes | Each item needs order and/or parentId. Moves happen first, so order is a position under the new parent. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | The type of entity that was reordered/moved. | |
| success | Yes | Whether every entity was moved and reordered as asked. | |
| failures | Yes | Entities that could not be moved or reordered, with the reason for each. | |
| movedCount | Yes | The number of entities moved to a new parent. | |
| affectedIds | Yes | The IDs of the entities moved or reordered. | |
| reorderedCount | Yes | The number of entities reordered. |