muninn_bundle_node_create
Add an existing memory to a bundle (an ordered outline of memories for a book or project) as an item under a section, in one call. Use it to place something the user already wrote, such as a chapter's full text or its summary, in the outline so it renders in order. muninn_bundle_create makes a new bundle; this adds content to one. okfType names what the item is: 'text' (full body), 'record' (a summary of a chapter or section), 'package' or 'quotes'. relation defaults to 'contains', the item's one home in the outline; 'reference' links it from a second place as well. Fails if the slug is already used under that section.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Unique slug for the new node (e.g. 'text'). Lowercased, frozen at creation. | |
| memId | Yes | ID of the EXISTING memory this item points at. | |
| okfType | No | What the item is: 'text' (full body), 'record' (a summary of a chapter or section), 'package', 'quotes'. Default 'text'. | text |
| position | No | Explicit REAL position among siblings. Omit to append. | |
| relation | No | 'contains' = canonical home (one per node). 'reference' = additional DAG link. | contains |
| parentKey | Yes | node_key of the parent to attach under |