Skip to main content
Glama

Task Master

by eyaltoledano

add_subtask

Attach a subtask to an existing task within Task Master, enabling detailed task breakdowns with titles, descriptions, statuses, dependencies, and implementation specifics for AI-driven development workflows.

Instructions

Add a subtask to an existing task

Input Schema

NameRequiredDescriptionDefault
dependenciesNoComma-separated list of dependency IDs for the new subtask
descriptionNoDescription for the new subtask
detailsNoImplementation details for the new subtask
fileNoAbsolute path to the tasks file (default: tasks/tasks.json)
idYesParent task ID (required)
projectRootYesThe directory of the project. Must be an absolute path.
skipGenerateNoSkip regenerating task files
statusNoStatus for the new subtask (default: 'pending')
tagNoTag context to operate on
taskIdNoExisting task ID to convert to subtask
titleNoTitle for the new subtask (when creating a new subtask)

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "dependencies": { "description": "Comma-separated list of dependency IDs for the new subtask", "type": "string" }, "description": { "description": "Description for the new subtask", "type": "string" }, "details": { "description": "Implementation details for the new subtask", "type": "string" }, "file": { "description": "Absolute path to the tasks file (default: tasks/tasks.json)", "type": "string" }, "id": { "description": "Parent task ID (required)", "type": "string" }, "projectRoot": { "description": "The directory of the project. Must be an absolute path.", "type": "string" }, "skipGenerate": { "description": "Skip regenerating task files", "type": "boolean" }, "status": { "description": "Status for the new subtask (default: 'pending')", "type": "string" }, "tag": { "description": "Tag context to operate on", "type": "string" }, "taskId": { "description": "Existing task ID to convert to subtask", "type": "string" }, "title": { "description": "Title for the new subtask (when creating a new subtask)", "type": "string" } }, "required": [ "id", "projectRoot" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/eyaltoledano/claude-task-master'

If you have feedback or need assistance with the MCP directory API, please join our Discord server