Insert Block
insert_blockInsert a new content block before or after an existing block in Mnemosyne knowledge graphs. Specify position and XML content to add structured data.
Instructions
Insert a new block relative to an existing block. Use position='after' or 'before' to specify where to insert. Returns the new block's generated ID. For appending to the end, use append_to_document instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph_id | Yes | ||
| document_id | Yes | ||
| reference_block_id | Yes | ||
| xml_content | Yes | ||
| position | No | after |