Insert Blocks
notion_insert_blocksInsert new content into a Notion page at a chosen position: start, end, or after a specific block. Existing content is never rewritten.
Instructions
Insert new content at an exact spot: at the start or end of a page/block, or directly after a specific block id. Existing content is never rewritten. markdown accepts headings (# to ####), lists and to-dos nested by indentation to any depth, quotes, code (mermaid for diagrams), $$ equations $$, pipe tables, > [!NOTE]/[!TIP]/[!WARNING] callouts, and Notion's markdown tags as returned by notion_get_page format=markdown (, , , , , , mentions, {color="…"}). Or give structured blocks (tables via rows, columns, tabs, images/files from a URL or local path, bookmarks, embeds, equations, synced blocks, link_to_page, table_of_contents, breadcrumb). Everything is validated and uploaded before the first write. Returns the new block ids.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blocks | No | ||
| parent | Yes | Page or block URL/id to insert into. | |
| markdown | No | ||
| position | No | end | |
| after_block_id | No | Required when position is after_block; must be a direct child of parent. |