Inserts new blocks into a document from markdown. Call `get_fibery_skill({skill: "documents"})` first. It covers the full markdown reference (headings, lists, tables, code, math, images/videos, callouts, highlights, entity references), content adaptation rules, and the editing workflow. Call `read_document` for block ids to anchor to (not needed when inserting at the document root with `parent: {blockId: null, ...}`). ## Example Append a section to the end of a document: ``` { secret: "123", inserts: [{parent: {blockId: null, position: "end"}, content: "## Next steps\n\n- [ ] review\n- [ ] deploy"}] } ```
Parameters
Insertions to perform. Each item must have exactly ONE anchor: after, before or parent
Document secret (UUID). For entity document fields, select the field's secret via query (e.g. {Secret: ['Space/Field', 'Collaboration~Documents/secret']}). For standalone documents, use search with viewType 'document'