patch_note_tool
Edit a note section or block reference by replacing, inserting before/after, or appending content. Preview changes with a dry run before writing.
Instructions
Edit a section or block reference inside a note. mode: 'replace' (default) | 'insert_before' | 'insert_after' | 'append'. target_type: 'heading' (default) | 'block_ref' (use section='^block-id'). dry_run=True previews data {preview, diff} without writing — check it, then call again with dry_run=False.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | replace | |
| path | Yes | ||
| vault | No | ||
| dry_run | No | ||
| section | Yes | ||
| new_content | Yes | ||
| target_type | No | heading | |
| expected_revision | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||