Update block
update_blockReplace an existing block's content with new Markdown, optionally locking the block type. Retrieve the block ID first using get_block or search_notes.
Instructions
Replace the content of an existing block with new Markdown. The block type may change (e.g. a paragraph into a heading) unless lock_type is true. Get the ID from get_block or search_notes first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Block ID to replace. | |
| data | Yes | New Markdown content for the block. | |
| lock_type | No | When true, refuse the update if the parsed block type differs from the original. |