createTask
Initiate a new task workflow by creating tasks with optional hierarchical organization, position control, and descriptions. Automate task management by proceeding to start, complete, and execute subsequent tasks in sequence.
Instructions
Create a new task with optional parent and index positioning.
This tool initiates a new workflow for handling user requests. To manage tasks, you MUST always run this tool first. The workflow is as follows:
Create tasks with the provided name and optional description. Tasks are organized in a hierarchical structure where subtasks can be created by specifying parentId.
Tasks are ordered by their position in the parent's tasks array. Use insertIndex to specify position (defaults to end).
After task creation, you MUST call the
startTask
tool to begin processing the task.When the task is completed, call the
completeTask
tool with the task ID and resolution details.If the following task is assigned, execute it by calling the
startTask
tool again.Repeat this cycle until all tasks are completed.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
completion_criteria | No | Completion criteria for the task (optional) | |
constraints | No | Constraints for task execution (optional) | |
description | No | Task description (optional) | |
insertIndex | No | Index position within parent's tasks array (optional, defaults to end of array) | |
name | Yes | Task name (required) | |
parentId | No | Parent task ID for hierarchical organization (optional) | |
tasks | No | Array of subtasks to create simultaneously (optional) |