get_node_context
Retrieve comprehensive context for a planning node, including children, logs, and artifacts, to support structured project analysis and decision-making.
Instructions
Get comprehensive context for a node including children, logs, and artifacts
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | Yes | Plan ID | |
| node_id | Yes | Node ID |
Implementation Reference
- src/tools.js:598-607 (handler)Handler function that executes the get_node_context tool by calling the API endpoint to retrieve comprehensive node context including children, logs, and artifacts.if (name === "get_node_context") { const { plan_id, node_id } = args; // Get node with context const response = await apiClient.axiosInstance.get( `/plans/${plan_id}/nodes/${node_id}/context` ); return formatResponse(response.data); }
- src/tools.js:250-261 (registration)Tool registration in the listTools response, defining the name, description, and input schema for get_node_context.{ name: "get_node_context", description: "Get comprehensive context for a node including children, logs, and artifacts", inputSchema: { type: "object", properties: { plan_id: { type: "string", description: "Plan ID" }, node_id: { type: "string", description: "Node ID" } }, required: ["plan_id", "node_id"] } },
- src/tools.js:253-260 (schema)Input schema defining the required plan_id and node_id parameters for the tool.inputSchema: { type: "object", properties: { plan_id: { type: "string", description: "Plan ID" }, node_id: { type: "string", description: "Node ID" } }, required: ["plan_id", "node_id"] }