initializePlan
Create or fully replace a task plan by defining a clear goal and structured tasks with dependencies and reasoning. Ensures organized execution within the MCPlanManager system.
Instructions
初始化或完全替换一个新的任务计划。
Args: goal (str): 描述计划总体目标的字符串。 tasks (List[TaskInput]): 任务对象的列表。每个任务的结构如下: - name (str): 任务的名称,在一个计划中应唯一。 - dependencies (List[Union[str, int]]): 依赖的任务名称或ID列表。 - reasoning (str): 阐述为何需要此任务。
Input Schema
Name | Required | Description | Default |
---|---|---|---|
goal | Yes | ||
tasks | Yes |