remove_tasks
Remove tasks from goals by marking them as deleted while keeping them in the system. Specify task IDs and optionally delete child tasks.
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.
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": {
"goalId": "<goalId>",
"taskIds": "<taskIds>"
},
"name": "remove_tasks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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"]. | |
| 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. |