vault_edit
Apply incremental edits to notes: replace strings, update frontmatter, or change sections without rewriting full content.
Instructions
Apply an incremental edit to an existing note without rewriting the full content.
Args: path: Note path to edit. operation: One of "replace_string", "set_frontmatter", "replace_section", "append_section". params: Operation-specific parameters: - replace_string: {"old": "...", "new": "..."} - set_frontmatter: {"field": "value", ...} (merge update) - replace_section: {"heading": "## Section", "body": "new content"} - append_section: {"heading": "## Section", "content": "appended text"}
Returns warnings if the edit introduces structural issues.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| params | Yes | ||
| operation | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |