remove_tasks
Soft-delete multiple tasks from a goal using dot-notation IDs. Optionally delete child tasks. Tasks remain in the system but are excluded from default query results unless explicitly included.
Instructions
Soft-delete multiple tasks from a goal. Tasks are marked as deleted but remain in the system. Task IDs use a dot-notation (e.g., "1", "1.1", "1.1.1"). Responses will return simplified task objects without createdAt, updatedAt, or parentId. Soft-deleted tasks are excluded by default from get_tasks results unless includeDeletedTasks is set to true.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deleteChildren | No | Whether to delete child tasks along with the parent (boolean). Defaults to false. If false, attempting to delete a parent task with existing subtasks will throw an error. | |
| goalId | Yes | ID of the goal to remove tasks from (number) | |
| taskIds | Yes | IDs of the tasks to remove (array of strings). Example: ["1", "1.1"]. |