Skip to main content
Glama

MCPlanManager

editDependencies

Manage task dependencies in bulk with transactional safety. Set or update dependencies for multiple tasks, ensuring all changes are validated before application. If any edit fails, the entire operation rolls back to maintain consistency.

Instructions

以批量、事务性的方式编辑一个或多个任务的依赖关系。

此工具允许 'set' 或 'update' 操作,所有编辑将在应用前进行全面验证。 如果任何指令失败,整个操作将回滚。

Args: edits (List[DependencyEdit]): 一个包含编辑指令对象的列表,每个对象的结构如下: - task_id (int): 要修改的任务ID。 - action (Literal["set", "update"]): 要执行的操作。 - dependencies (Optional[List[int]]): 当 action 为 'set' 时,提供新的完整依赖ID列表。 - add (Optional[List[int]]): 当 action 为 'update' 时,提供要添加的依赖ID列表。 - remove (Optional[List[int]]): 当 action 为 'update' 时,提供要移除的依赖ID列表。

Input Schema

NameRequiredDescriptionDefault
editsYes

Input Schema (JSON Schema)

{ "$defs": { "DependencyEdit": { "description": "用于editDependencies工具,定义单个依赖编辑操作的模型。", "properties": { "action": { "description": "要执行的操作:'set' 或 'update'。", "enum": [ "set", "update" ], "title": "Action", "type": "string" }, "add": { "anyOf": [ { "items": { "type": "integer" }, "type": "array" }, { "type": "null" } ], "default": null, "description": "当action为'update'时,提供要添加的依赖ID列表。", "title": "Add" }, "dependencies": { "anyOf": [ { "items": { "type": "integer" }, "type": "array" }, { "type": "null" } ], "default": null, "description": "当action为'set'时,提供新的完整依赖ID列表。", "title": "Dependencies" }, "remove": { "anyOf": [ { "items": { "type": "integer" }, "type": "array" }, { "type": "null" } ], "default": null, "description": "当action为'update'时,提供要移除的依赖ID列表。", "title": "Remove" }, "task_id": { "description": "要修改的任务ID。", "title": "Task Id", "type": "integer" } }, "required": [ "task_id", "action" ], "title": "DependencyEdit", "type": "object" } }, "properties": { "edits": { "items": { "$ref": "#/$defs/DependencyEdit" }, "title": "Edits", "type": "array" } }, "required": [ "edits" ], "type": "object" }
Install Server

Other Tools from MCPlanManager

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/donway19/MCPlanManager'

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