Skip to main content
Glama

Task Orchestration

by hrishirc

remove_tasks

Soft-delete multiple tasks from a goal by marking them as deleted while retaining them in the system. Specify goal ID and task IDs to remove, with an option to delete child tasks. Soft-deleted tasks are excluded from default task retrieval 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

NameRequiredDescriptionDefault
deleteChildrenNoWhether 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.
goalIdYesID of the goal to remove tasks from (number)
taskIdsYesIDs of the tasks to remove (array of strings). Example: ["1", "1.1"].

Input Schema (JSON Schema)

{ "properties": { "deleteChildren": { "default": false, "description": "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.", "type": "boolean" }, "goalId": { "description": "ID of the goal to remove tasks from (number)", "type": "number" }, "taskIds": { "description": "IDs of the tasks to remove (array of strings). Example: [\"1\", \"1.1\"].", "items": { "type": "string" }, "type": "array" } }, "required": [ "goalId", "taskIds" ], "type": "object" }
Install Server

Other Tools from Task Orchestration

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/hrishirc/task-orchestrator'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server