block.replace
Replace a block in an Obsidian note by its ID, preserving the ID marker and using hash verification to prevent conflicts.
Instructions
Replace the structural block referenced by ^id (paragraph/list-item/table-row/etc.) preserving the ^id marker. Requires expected_block_hash from block.find.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| vault | No | ||
| blockId | Yes | ||
| content | Yes | ||
| dry_run | No | ||
| expected_block_hash | Yes |