muninn_render_bundle
Render a bundle (an ordered outline of memories for a book or project) as one readable document. format='md' gives the outline as markdown, in order. format='tree' gives a compact outline of slugs. format='okf' gives the bundle as JSON in the OKF v0.1 export format. With format='tree', show_keys adds each item's key and memory id, so a follow-up edit needs no extra lookup.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Output format: 'md' (markdown), 'tree' (ASCII), 'okf' (OKF v0.1 JSON) | md |
| rootKey | Yes | The node_key of the bundle root | |
| show_ids | No | (md only) Append the memory ID to each heading | |
| show_keys | No | (tree only) Append [node_key=… memId=…] to each line so one tree call is enough to reslug/repoint/delete without a separate bundle_get. | |
| child_separator | No | (md only) Separator between children | --- |
| child_heading_level | No | (md only) Heading level for memory-backed nodes | |
| include_descriptions | No | (md only) Emit bundle and folder descriptions | |
| section_heading_level | No | (md only) Heading level for section/folder nodes |