patch_note
Apply targeted edits to existing Obsidian notes: append, prepend, replace sections by heading, use regex substitutions, or update frontmatter keys.
Instructions
Perform fine-grained updates on an existing Obsidian note (append, prepend, replace under heading, regex patch, update frontmatter).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Relative note path or title | |
| append | No | Text to append to the end of the note body | |
| prepend | No | Text to prepend to the beginning of the note body | |
| patchRegex | No | Regex-based targeted substitution | |
| replaceSection | No | Replace or add an entire markdown heading section | |
| updateFrontmatter | No | Frontmatter keys to merge or update |