add_task
Create and manage tasks efficiently with AI-driven task generation in the Task Master MCP server. Define task details manually or use prompts for automated creation, ensuring structured and prioritized task management.
Instructions
Add a new task using AI
Input Schema
Name | Required | Description | Default |
---|---|---|---|
dependencies | No | Comma-separated list of task IDs this task depends on | |
description | No | Task description (for manual task creation) | |
details | No | Implementation details (for manual task creation) | |
file | No | Path to the tasks file (default: tasks/tasks.json) | |
priority | No | Task priority (high, medium, low) | |
projectRoot | Yes | The directory of the project. Must be an absolute path. | |
prompt | No | Description of the task to add (required if not using manual fields) | |
research | No | Whether to use research capabilities for task creation | |
tag | No | Tag context to operate on | |
testStrategy | No | Test strategy (for manual task creation) | |
title | No | Task title (for manual task creation) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"dependencies": {
"description": "Comma-separated list of task IDs this task depends on",
"type": "string"
},
"description": {
"description": "Task description (for manual task creation)",
"type": "string"
},
"details": {
"description": "Implementation details (for manual task creation)",
"type": "string"
},
"file": {
"description": "Path to the tasks file (default: tasks/tasks.json)",
"type": "string"
},
"priority": {
"description": "Task priority (high, medium, low)",
"type": "string"
},
"projectRoot": {
"description": "The directory of the project. Must be an absolute path.",
"type": "string"
},
"prompt": {
"description": "Description of the task to add (required if not using manual fields)",
"type": "string"
},
"research": {
"description": "Whether to use research capabilities for task creation",
"type": "boolean"
},
"tag": {
"description": "Tag context to operate on",
"type": "string"
},
"testStrategy": {
"description": "Test strategy (for manual task creation)",
"type": "string"
},
"title": {
"description": "Task title (for manual task creation)",
"type": "string"
}
},
"required": [
"projectRoot"
],
"type": "object"
}