create_tree
Create a hierarchical tiling tree to explore problems by splitting solution spaces using MECE principles, starting with a root tile representing the complete challenge.
Instructions
Create a new tiling tree to explore a problem/challenge. The tree starts with a root tile representing the complete solution space, which you'll then split recursively using MECE (Mutually Exclusive, Collectively Exhaustive) principles.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for this tiling tree | |
| problemStatement | Yes | The problem or challenge to explore (e.g., 'How can we reduce carbon emissions in transportation?') |
Implementation Reference
- src/research-tree.ts:87-113 (handler)Core implementation of createTree method in ResearchTreeManager class. Creates a new TilingTree with a root tile representing the complete solution space.createTree(name: string, problemStatement: string): TilingTree { const rootTile: Tile = { id: randomUUID(), title: "Complete Solution Space", description: `All possible solutions to: ${problemStatement}`, childrenIds: [], isLeaf: false, createdAt: new Date(), updatedAt: new Date(), metadata: {}, }; const tree: TilingTree = { id: randomUUID(), name, problemStatement, rootTileId: rootTile.id, createdAt: new Date(), updatedAt: new Date(), metadata: {}, }; this.tiles.set(rootTile.id, rootTile); this.trees.set(tree.id, tree); return tree; }
- src/index.ts:407-420 (handler)MCP server handler for create_tree tool. Dispatches to treeManager.createTree and formats response.case "create_tree": { const result = treeManager.createTree( args.name as string, args.problemStatement as string ); return { content: [ { type: "text", text: JSON.stringify(result, null, 2), }, ], }; }
- src/index.ts:28-45 (schema)Tool schema definition including input schema for validation in the TOOLS array used for list tools request.{ name: "create_tree", description: "Create a new tiling tree to explore a problem/challenge. The tree starts with a root tile representing the complete solution space, which you'll then split recursively using MECE (Mutually Exclusive, Collectively Exhaustive) principles.", inputSchema: { type: "object", properties: { name: { type: "string", description: "Name for this tiling tree", }, problemStatement: { type: "string", description: "The problem or challenge to explore (e.g., 'How can we reduce carbon emissions in transportation?')", }, }, required: ["name", "problemStatement"], }, },
- src/index.ts:393-395 (registration)Registration of all tools including create_tree via the ListToolsRequestSchema handler that returns the TOOLS array.server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: TOOLS, }));