save_plan
Store software implementation plans to maintain project progress and ensure consistent task management during development.
Instructions
Save the current implementation plan
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | The implementation plan text to save |
Implementation Reference
- src/index.ts:229-252 (handler)The handler function for the 'save_plan' tool. It checks for an active goal, parses the provided plan into todos using formatPlanAsTodos, adds each todo to storage, and returns a success message.case 'save_plan': { if (!this.currentGoal) { throw new McpError( ErrorCode.InvalidRequest, 'No active goal. Start a new planning session first.' ); } const { plan } = request.params.arguments as { plan: string }; const todos = formatPlanAsTodos(plan); for (const todo of todos) { await storage.addTodo(this.currentGoal.id, todo); } return { content: [ { type: 'text', text: `Successfully saved ${todos.length} todo items to the implementation plan.`, }, ], }; }
- src/index.ts:128-140 (registration)Registration of the 'save_plan' tool in the list of available tools, including its description and input schema.name: 'save_plan', description: 'Save the current implementation plan', inputSchema: { type: 'object', properties: { plan: { type: 'string', description: 'The implementation plan text to save', }, }, required: ['plan'], }, },
- src/index.ts:128-140 (schema)Input schema definition for the 'save_plan' tool.name: 'save_plan', description: 'Save the current implementation plan', inputSchema: { type: 'object', properties: { plan: { type: 'string', description: 'The implementation plan text to save', }, }, required: ['plan'], }, },