add_node
Add a child node under a parent to build a visual mindmap of plans, tasks, code changes, or hypotheses. Attach files, symbols, notes, and statuses to track execution.
Instructions
Add a child node under a parent node. Supports both plan/task nodes ('plan', 'task', 'code', 'file', 'note') and semantic code-thinking nodes ('component', 'data_flow', 'hypothesis', 'decision', 'risk').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Semantic type of node (default: 'task') | task |
| files | No | ||
| label | Yes | Node label text | |
| notes | No | Notes, rationale, hypothesis details, or trade-offs | |
| status | No | Initial status; tasks only (default: planned) | |
| parentId | Yes | Parent node ID (use 'root' for top-level steps) | |
| mindmapId | Yes | Mindmap ID |