bmad_update_task_status
Update the status of a task in CastPlan MCP by specifying a task ID and choosing from predefined status options such as pending, assigned, in-progress, needs-revision, or completed.
Instructions
Update the status of a specific task
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | New status for the task | |
| taskId | Yes | ID of the task to update |
Implementation Reference
- src/tools/bmad/index.ts:74-77 (handler)Tool handler function that invokes BMADService to update task status and formats the response.tools.set('bmad_update_task_status', async (args: any) => { const updated = await bmadService.updateTaskStatus(args.taskId, args.status); return { success: updated, taskId: args.taskId, status: args.status }; });
- src/tools/bmad/index.ts:48-66 (schema)Input schema defining parameters for the bmad_update_task_status tool.{ name: 'bmad_update_task_status', description: 'Update the status of a specific task', inputSchema: { type: 'object', properties: { taskId: { type: 'string', description: 'ID of the task to update' }, status: { type: 'string', enum: ['pending', 'assigned', 'in-progress', 'needs-revision', 'completed'], description: 'New status for the task' } }, required: ['taskId', 'status'] } }
- src/index.ts:405-407 (registration)Registration call for BMAD tools, including bmad_update_task_status, in the main server initialization.if (this.config.services.bmad && this.bmadService) { const bmadTools = registerBMADTools(this.tools, this.bmadService); this.toolDefinitions.push(...bmadTools);
- src/services/BMADService.ts:856-864 (helper)BMADService method implementing the core task status update logic used by the tool handler.async updateTaskStatus(taskId: string, status: Task['status']): Promise<boolean> { const task = this.tasks.find(t => t.id === taskId); if (task) { task.status = status; task.updatedAt = new Date().toISOString(); return true; } return false; }