create_node
Add a new node to a mind map under a parent, with optional custom ID, position, initial content, and note.
Instructions
Create a structural node under a parent. nodeId is optional; a uuid is minted when omitted so you can reference ids you choose.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Initial node note. | |
| mapId | Yes | The map id. | |
| nodeId | No | Client-minted node id, unique within the map. A uuid is generated if omitted. | |
| messages | No | Initial node content as a UIMessage array (a data/note node's body is a user message too). | |
| nodeType | No | The node's type (e.g. prompt, data, expand). | |
| parentId | Yes | The id of an existing node to create this node under. | |
| position | No | Insert index among the parent's children; appended when omitted. |