update_node
Modify task properties like title, status, due date, or instructions within a hierarchical project plan to reflect progress changes and updated requirements.
Instructions
Update a node's properties
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | Yes | Plan ID | |
| node_id | Yes | Node ID | |
| title | No | New node title | |
| description | No | New node description | |
| status | No | New node status | |
| context | No | New context | |
| agent_instructions | No | New agent instructions | |
| acceptance_criteria | No | New acceptance criteria | |
| due_date | No | New due date (ISO format) | |
| metadata | No | New metadata |
Implementation Reference
- src/tools.js:554-558 (handler)MCP CallToolRequestHandler implementation for the 'update_node' tool. Destructures arguments, calls apiClient.nodes.updateNode, and formats the response.if (name === "update_node") { const { plan_id, node_id, ...nodeData } = args; const result = await apiClient.nodes.updateNode(plan_id, node_id, nodeData); return formatResponse(result); }
- src/tools.js:200-222 (registration)Tool registration object including name, description, and input schema for 'update_node' in the ListToolsRequestHandler.{ name: "update_node", description: "Update a node's properties", inputSchema: { type: "object", properties: { plan_id: { type: "string", description: "Plan ID" }, node_id: { type: "string", description: "Node ID" }, title: { type: "string", description: "New node title" }, description: { type: "string", description: "New node description" }, status: { type: "string", description: "New node status", enum: ["not_started", "in_progress", "completed", "blocked"] }, context: { type: "string", description: "New context" }, agent_instructions: { type: "string", description: "New agent instructions" }, acceptance_criteria: { type: "string", description: "New acceptance criteria" }, due_date: { type: "string", description: "New due date (ISO format)" }, metadata: { type: "object", description: "New metadata" } }, required: ["plan_id", "node_id"] }
- src/api-client.js:149-152 (helper)API client helper function that performs the actual HTTP PUT request to update a node, called by the MCP tool handler.updateNode: async (planId, nodeId, nodeData) => { const response = await apiClient.put(`/plans/${planId}/nodes/${nodeId}`, nodeData); return response.data; },