create_node
Add any project item—task, idea, note, finding, decision, or bug—as a node on the task graph. Optionally link it to a parent to show how it branched.
Instructions
Create a node in the task graph. Use for every task, subtask, idea, discussion topic, note, finding (something learned), decision (with reasoning) or bug that comes up. If it grew out of another node, pass parent_id so the graph shows where it branched from.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | No | Link to a spec/plan document this node corresponds to, relative to the project root, optionally with a heading anchor: "docs/spec.md#error-handling". The user can jump to it from the viewer. | |
| type | Yes | task | subtask | idea | discussion | note | finding | decision | bug | |
| title | Yes | Short title, a few words | |
| status | No | Defaults to pending | |
| parent_id | No | ID of the node this branched from | |
| description | No | Longer explanation, context, decisions |