add_tag
Create and organize tags for tasks in the Task Master MCP server, enabling efficient categorization, task copying, and project management in AI-driven workflows.
Instructions
Create a new tag for organizing tasks in different contexts
Input Schema
Name | Required | Description | Default |
---|---|---|---|
copyFromCurrent | No | Whether to copy tasks from the current tag (default: false) | |
copyFromTag | No | Specific tag to copy tasks from | |
description | No | Optional description for the tag | |
file | No | Path to the tasks file (default: tasks/tasks.json) | |
fromBranch | No | Create tag name from current git branch (ignores name parameter) | |
name | Yes | Name of the new tag to create | |
projectRoot | Yes | The directory of the project. Must be an absolute path. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"copyFromCurrent": {
"description": "Whether to copy tasks from the current tag (default: false)",
"type": "boolean"
},
"copyFromTag": {
"description": "Specific tag to copy tasks from",
"type": "string"
},
"description": {
"description": "Optional description for the tag",
"type": "string"
},
"file": {
"description": "Path to the tasks file (default: tasks/tasks.json)",
"type": "string"
},
"fromBranch": {
"description": "Create tag name from current git branch (ignores name parameter)",
"type": "boolean"
},
"name": {
"description": "Name of the new tag to create",
"type": "string"
},
"projectRoot": {
"description": "The directory of the project. Must be an absolute path.",
"type": "string"
}
},
"required": [
"name",
"projectRoot"
],
"type": "object"
}