create_plan
Create structured project plans with phases, tasks, and milestones. Define plan title, description, and status to organize hierarchical planning for AI agents.
Instructions
Create a new plan
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Plan title | |
| description | No | Plan description | |
| status | No | Plan status | draft |
Implementation Reference
- src/tools.js:527-530 (handler)MCP tool handler for 'create_plan': dispatches to apiClient.plans.createPlan with input arguments and formats the response using formatResponse.if (name === "create_plan") { const result = await apiClient.plans.createPlan(args); return formatResponse(result); }
- src/tools.js:124-137 (schema)Input schema for the 'create_plan' tool defining parameters: title (required), description, status.inputSchema: { type: "object", properties: { title: { type: "string", description: "Plan title" }, description: { type: "string", description: "Plan description" }, status: { type: "string", description: "Plan status", enum: ["draft", "active", "completed", "archived"], default: "draft" } }, required: ["title"] }
- src/tools.js:122-138 (registration)Tool registration object for 'create_plan' in the ListTools response, including name, description, and inputSchema.name: "create_plan", description: "Create a new plan", inputSchema: { type: "object", properties: { title: { type: "string", description: "Plan title" }, description: { type: "string", description: "Plan description" }, status: { type: "string", description: "Plan status", enum: ["draft", "active", "completed", "archived"], default: "draft" } }, required: ["title"] } },
- src/api-client.js:80-83 (helper)Helper function in API client that performs HTTP POST to '/plans' endpoint to create a new plan.createPlan: async (planData) => { const response = await apiClient.post('/plans', planData); return response.data; },