obsidian_replace_in_note
Replace the first occurrence of a specific text string in a note to make surgical inline edits, such as adding a wikilink to existing text.
Instructions
Replace the first occurrence of a specific text string in a note. Use for surgical inline edits, e.g. adding a wikilink to existing text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_text | No | Replacement text (default: empty string) | |
| old_text | Yes | Exact text to find and replace | |
| file_path | Yes | Relative path to the note | |
| vault_path | No | Optional vault path override |