reorder-objects
Reorder sibling projects or sections in Todoist. Optionally move projects to a new parent project or to the top level.
Instructions
Reorder sibling projects or sections, and optionally move projects to a new parent. For projects: set order to reorder siblings, and/or set parentId to move under a new parent (use "root" for top level). For sections: set order to reorder within a project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | The type of entity to reorder. "project" reorders sibling projects within the same parent (and can move projects to a new parent). "section" reorders sections within the same project. | |
| items | Yes | The items to reorder or move. Each item must have at least order or parentId. Items with parentId will be moved first, then items with order will be reordered. All items being reordered should be siblings for predictable results. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | The type of entity that was reordered/moved. | |
| success | Yes | Whether the operation was successful. | |
| movedCount | Yes | The number of entities moved to a new parent. | |
| affectedIds | Yes | The IDs of all affected entities. | |
| reorderedCount | Yes | The number of entities reordered. |