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
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectRoot": "<projectRoot>"
},
"name": "add_task"
}
}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) |