update_note_tool
Update or append markdown content in an existing Obsidian note. Replace entire content or add to the end, with option to create note if missing.
Instructions
Update the content of an existing note.
⚠️ IMPORTANT: By default, this REPLACES the entire note content. Always read the note first if you need to preserve existing content.
When to use:
Updating a note with completely new content (replace)
Adding content to the end of a note (append)
Programmatically modifying notes
When NOT to use:
Making small edits (read first, then update with full content)
Creating new notes (use create_note instead)
Returns: Update status with path, metadata, and operation performed
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the note to update | |
| content | Yes | New markdown content (REPLACES existing content unless using append) | |
| create_if_not_exists | No | Create the note if it doesn't exist | |
| merge_strategy | No | How to handle content: 'replace' overwrites, 'append' adds to end | replace |
| ctx | No |